public class InternalInputBuffer extends AbstractInputBuffer<Socket>
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | InternalInputBuffer.InputStreamInputBufferThis class is an input buffer which will read its data from an input
 stream. | 
activeFilters, buf, chr, end, filterLibrary, headers, httpParser, inputStreamInputBuffer, lastActiveFilter, lastValid, parsingHeader, pos, prevChr, rejectIllegalHeaderName, request, sm, swallowInput| Constructor and Description | 
|---|
| InternalInputBuffer(Request request,
                   int headerBufferSize,
                   boolean rejectIllegalHeader,
                   HttpParser httpParser)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | fill()Fill the internal buffer using data from the underlying input stream. | 
| protected boolean | fill(boolean block) | 
| protected void | init(SocketWrapper<Socket> socketWrapper,
    AbstractEndpoint<Socket> endpoint) | 
| boolean | parseHeaders()Parse the HTTP headers. | 
| boolean | parseRequestLine(boolean useAvailableDataOnly)Read the request line. | 
| void | recycle()Recycle the input buffer. | 
addActiveFilter, addFilter, available, doRead, endRequest, getFilters, nextRequest, setSwallowInputpublic InternalInputBuffer(Request request, int headerBufferSize, boolean rejectIllegalHeader, HttpParser httpParser)
public boolean parseRequestLine(boolean useAvailableDataOnly)
                         throws IOException
parseRequestLine in class AbstractInputBuffer<Socket>IOException - If an exception occurs during the underlying socket
 read operations, or if the given buffer is not big enough to accommodate
 the whole line.public boolean parseHeaders()
                     throws IOException
parseHeaders in class AbstractInputBuffer<Socket>IOExceptionpublic void recycle()
AbstractInputBufferrecycle in class AbstractInputBuffer<Socket>protected void init(SocketWrapper<Socket> socketWrapper, AbstractEndpoint<Socket> endpoint) throws IOException
init in class AbstractInputBuffer<Socket>IOExceptionprotected boolean fill()
                throws IOException
IOExceptionprotected boolean fill(boolean block)
                throws IOException
fill in class AbstractInputBuffer<Socket>IOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.