protected class InternalNioInputBuffer.SocketInputBuffer extends Object implements InputBuffer
Modifier | Constructor and Description |
---|---|
protected |
InternalNioInputBuffer.SocketInputBuffer() |
protected InternalNioInputBuffer.SocketInputBuffer()
public int doRead(ByteChunk chunk, Request req) throws IOException
doRead
in interface InputBuffer
chunk
- The buffer to read data into.req
- The associated requestIOException
- If an I/O error occurs reading from the input streampublic int available()
InputBuffer
available
in interface InputBuffer
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.