public interface InputBuffer
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 int doRead(ByteChunk chunk) throws java.io.IOException
doRead(ApplicationBufferHandler)
chunk
- The buffer to read data into.java.io.IOException
- If an I/O error occurs reading from the input streamint doRead(ApplicationBufferHandler handler) throws java.io.IOException
handler
- ApplicationBufferHandler that provides the buffer to read
data into.java.io.IOException
- If an I/O error occurs reading from the input streamCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.