| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public boolean | |
| public void | |
| public HttpContent | poll()
Retrieves available input buffer payload, waiting up to the
|
| public void |
| close | back to summary |
|---|---|
| public void close(final Termination termination) Graceful input buffer close. Marks the input buffer as closed by adding Termination input element to the input queue. | |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Returns true if the InputBuffer has been closed. | |
| offer | back to summary |
|---|---|
| public boolean offer(final Buffer data, final boolean isLast) The method is called, when new input data arrives. | |
| onReadEventComplete | back to summary |
|---|---|
| public void onReadEventComplete() The method will be invoked once upstream completes READ operation processing. Here we have to simulate NIO OP_READ event re-registration. | |
| poll | back to summary |
|---|---|
| public HttpContent poll() throws IOException Retrieves available input buffer payload, waiting up to the
| |
| terminate | back to summary |
|---|---|
| public void terminate(final Termination termination) Forcibly closes the input buffer. All the buffered data will be discarded. | |