HandleHttpResponse 2.0.0

Bundle
org.apache.nifi | nifi-standard-nar
Description
Sends an HTTP Response to the Requestor that generated a FlowFile. This Processor is designed to be used in conjunction with the HandleHttpRequest in order to create a web service.
Tags
egress, http, https, response, web service
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Dynamic Properties
Relationships
Name Description
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.
success FlowFiles will be routed to this Relationship after the response has been successfully sent to the requestor
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.
See Also