adams.flow.source.HttpRequest
Submits the (optional) form parameters to the specified URL and forwards the retrieved HTML as text.
Cookies can be retrieved and stored in internal storage, to be re-used with the next request.
Flow input/output:
- output: adams.flow.container.HttpRequestResult
Container information:
- adams.flow.container.HttpRequestResult:
- Status code: HTTP status code; java.lang.Integer
- Status message: HTTP status message; java.lang.String
- Body: HTML of the request; java.lang.String
- Cookies: cookie mappings (String/String); java.util.Map
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | HttpRequest |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The URL for the request.
command-line | -url <adams.core.base.BaseURL> |
default | http://localhost |
The method to use for the request.
command-line | -method <GET|POST|PUT|PATCH|HEAD|DELETE|OPTIONS> |
default | POST |
The (optional) request headers to send.
command-line | -header <adams.core.base.BaseKeyValuePair> [-header ...] |
default |
|
The form parameters to send with the request.
command-line | -parameter <adams.core.base.BaseKeyValuePair> [-parameter ...] |
default |
|
The (optional) storage value with the cookies (map of strings).
command-line | -cookies <adams.flow.control.StorageName> |
default | storage |