C - The type of SelectableChannel where the response will be written.public interface ChannelResponder<C extends SelectableChannel>
| Modifier and Type | Method and Description |
|---|---|
void |
addResponse(ChannelResponse response) |
C |
getChannel() |
List<ChannelResponse> |
getResponses() |
void |
respond()
Writes the responses to the underlying channel.
|
C getChannel()
List<ChannelResponse> getResponses()
void addResponse(ChannelResponse response)
response - adds the given response to the list of responsesvoid respond()
throws IOException
IOExceptionCopyright © 2019 Apache NiFi Project. All rights reserved.