Interface HttpHeaderParser.HeaderDataSource

    • Method Detail

      • fillHeaderBuffer

        boolean fillHeaderBuffer()
                          throws java.io.IOException
        Read more data into the header buffer. The implementation is expected to determine if blocking or not blocking IO should be used.
        Returns:
        true if more data was added to the buffer, otherwise false
        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