public class NullInboundAdapter extends Object implements InboundAdapter
InboundAdapter where no service data is expected. Data is only expected
to be received in the context of a client call to the service; any extraneous data received from
a Channel may be safely dropped.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
NullInboundAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
dequeue()
Parse the received content into a form suitable for supplying to the remote method caller.
|
boolean |
isComplete()
Check for receipt of all response content expected from server.
|
void |
queue(byte[] bytes)
Add
Channel content to a queue for later processing |
public boolean isComplete()
InboundAdapterisComplete in interface InboundAdapterpublic void queue(byte[] bytes)
InboundAdapterChannel content to a queue for later processingqueue in interface InboundAdapterbytes - the remote content to queuepublic void dequeue()
throws IOException
InboundAdapterdequeue in interface InboundAdapterIOException - on failure parsing the contentCopyright © 2022 Apache NiFi Project. All rights reserved.