Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)HTTP Context Map | | Controller Service API: HttpContextMap Implementation: StandardHttpContextMap | The HTTP Context Map Controller Service to use for caching the HTTP Request Information |
Attributes to add to the HTTP Response (Regex) | | | Specifies the Regular Expression that determines the names of FlowFile attributes that should be added to the HTTP response |
Dynamic Properties:
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|
An HTTP header name | An HTTP header value | These HTTPHeaders are set in the HTTP Response Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Relationships:
Name | Description |
---|
success | FlowFiles will be routed to this Relationship after the response has been successfully sent to the requestor |
failure | FlowFiles will be routed to this Relationship if the Processor is unable to respond to the requestor. This may happen, for instance, if the connection times out or if NiFi is restarted before responding to the HTTP Request. |
Reads Attributes:
Name | Description |
---|
http.context.identifier | The value of this attribute is used to lookup the HTTP Response so that the proper message can be sent back to the requestor. If this attribute is missing, the FlowFile will be routed to 'failure.' |
http.request.uri | Value of the URI requested by the client. Used for provenance event. |
http.remote.host | IP address of the client. Used for provenance event. |
http.local.name | IP address/hostname of the server. Used for provenance event. |
http.server.port | Listening port of the server. Used for provenance event. |
http.subject.dn | SSL distinguished name (if any). Used for provenance event. |
Writes Attributes:
None specified.State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.See Also:
HandleHttpRequest, StandardHttpContextMap