HandleHttpResponse 2.3.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¶

Property

Description

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

HTTP Context Map

The HTTP Context Map Controller Service to use for caching the HTTP Request Information

HTTP Status Code

The HTTP Status Code to use when responding to the HTTP Request. See Section 10 of RFC 2616 for more information.

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

SEE ALSO¶