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.HeaderParseData
headerBufferSize, socketReadBufferSize
activeFilters, 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, parseRequestLine
addActiveFilter, addFilter, available, doRead, endRequest, getFilters, isBlocking, isFinished, setSwallowInput
public 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>
IOException
protected boolean fill(boolean block) throws IOException, EOFException
AbstractInputBuffer
fill
in class AbstractInputBuffer<NioChannel>
true
if more data was added to the input buffer
otherwise false
IOException
EOFException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.