public class ServerInputBuffer extends InputBuffer
InputBuffer.| Constructor and Description |
|---|
ServerInputBuffer() |
| Modifier and Type | Method and Description |
|---|---|
protected HttpContent |
blockingRead()
Read next chunk of data in this thread, block if needed.
|
protected Executor |
getThreadPool() |
void |
initialize(Request serverRequest,
FilterChainContext ctx) |
void |
initiateAsyncronousDataReceiving()
Initiates asynchronous data receiving.
|
void |
recycle()
Recycle this
InputBuffer for reuse. |
protected void |
updateInputContentBuffer(Buffer buffer) |
append, available, availableChar, close, fillFully, finished, getBuffer, getReadHandler, initialize, isAsyncEnabled, isClosed, isFinished, mark, markSupported, notifyAvailable, notifyAvailable, processingChars, read, read, read, readBuffer, readBuffer, readByte, readChar, ready, readyData, replayPayload, reset, setAsyncEnabled, setDefaultEncoding, skip, skip, terminatepublic void initialize(Request serverRequest, FilterChainContext ctx)
public void initiateAsyncronousDataReceiving()
initiateAsyncronousDataReceiving in class InputBufferprotected HttpContent blockingRead() throws IOException
InputBufferblockingRead in class InputBufferHttpContentIOExceptionprotected void updateInputContentBuffer(Buffer buffer)
updateInputContentBuffer in class InputBufferpublic void recycle()
InputBuffer
Recycle this InputBuffer for reuse.
recycle in class InputBufferprotected Executor getThreadPool()
getThreadPool in class InputBufferExecutor, which will be used for notifying user
registered ReadHandler.Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.