Interface HttpHeaderParser.HeaderDataSource
-
- All Known Implementing Classes:
ChunkedInputFilter
- Enclosing class:
- HttpHeaderParser
public static interface HttpHeaderParser.HeaderDataSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanfillHeaderBuffer()Read more data into the header buffer.java.nio.ByteBuffergetHeaderByteBuffer()Obtain a reference to the buffer containing the header data.
-
-
-
Method Detail
-
fillHeaderBuffer
boolean fillHeaderBuffer() throws java.io.IOExceptionRead more data into the header buffer. The implementation is expected to determine if blocking or not blocking IO should be used.- Returns:
trueif more data was added to the buffer, otherwisefalse- Throws:
java.io.IOException- If an I/O error occurred while obtaining more header data
-
getHeaderByteBuffer
java.nio.ByteBuffer getHeaderByteBuffer()
Obtain a reference to the buffer containing the header data.- Returns:
- The buffer containing the header data
-
-