HandleHttpResponse 2025.10.9.21

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

PropertyDescription
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 MapThe HTTP Context Map Controller Service to use for caching the HTTP Request Information
HTTP Status CodeThe HTTP Status Code to use when responding to the HTTP Request. See Section 10 of RFC 2616 for more information.

Relationships

NameDescription
failureFlowFiles 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.
successFlowFiles will be routed to this Relationship after the response has been successfully sent to the requestor

See also