public class InternalNioInputBuffer extends AbstractNioInputBuffer<NioChannel>
| Modifier and Type | Class and Description |
|---|---|
protected class |
InternalNioInputBuffer.SocketInputBuffer
This class is an input buffer which will read its data from an input
stream.
|
AbstractNioInputBuffer.HeaderParseDataheaderBufferSize, socketReadBufferSizeactiveFilters, buf, end, filterLibrary, headers, HTTP_TOKEN_CHAR, inputStreamInputBuffer, lastActiveFilter, lastValid, parsingHeader, pos, request, sm, swallowInput| Constructor and Description |
|---|
InternalNioInputBuffer(Request request,
int headerBufferSize)
Alternate constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
fill(boolean block)
Attempts to read some data into the input buffer.
|
protected Log |
getLog() |
protected void |
init(SocketWrapper<NioChannel> socketWrapper,
AbstractEndpoint<NioChannel> endpoint) |
void |
recycle()
Recycle the input buffer.
|
expand, getParsingRequestLinePhase, nextRequest, parseHeaders, parseRequestLineaddActiveFilter, addFilter, available, doRead, endRequest, getFilters, isBlocking, isFinished, setSwallowInputpublic InternalNioInputBuffer(Request request, int headerBufferSize)
protected final Log getLog()
getLog in class AbstractInputBuffer<NioChannel>public void recycle()
recycle in class AbstractNioInputBuffer<NioChannel>protected void init(SocketWrapper<NioChannel> socketWrapper, AbstractEndpoint<NioChannel> endpoint) throws IOException
init in class AbstractInputBuffer<NioChannel>IOExceptionprotected boolean fill(boolean block)
throws IOException,
EOFException
AbstractInputBufferfill in class AbstractInputBuffer<NioChannel>true if more data was added to the input buffer
otherwise falseIOExceptionEOFExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.