protected class AjpProcessor.SocketInputBuffer extends Object implements InputBuffer
Modifier | Constructor and Description |
---|---|
protected |
AjpProcessor.SocketInputBuffer() |
Modifier and Type | Method and Description |
---|---|
int |
doRead(ApplicationBufferHandler handler)
Read from the input stream into the ByteBuffer provided by the
ApplicationBufferHandler.
|
int |
doRead(ByteChunk chunk)
Deprecated.
Unused. Will be removed in Tomcat 9. Use
doRead(ApplicationBufferHandler) |
@Deprecated public int doRead(ByteChunk chunk) throws IOException
doRead(ApplicationBufferHandler)
InputBuffer
doRead
in interface InputBuffer
chunk
- The buffer to read data into.IOException
- If an I/O error occurs reading from the input streampublic int doRead(ApplicationBufferHandler handler) throws IOException
InputBuffer
doRead
in interface InputBuffer
handler
- ApplicationBufferHandler that provides the buffer to read
data into.IOException
- If an I/O error occurs reading from the input streamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.