Package org.apache.tomcat.util.net
Interface ApplicationBufferHandler
-
- All Known Implementing Classes:
BufferedInputFilter,ChunkedInputFilter,Http11InputBuffer,IdentityInputFilter,InputBuffer,UpgradeApplicationBufferHandler
public interface ApplicationBufferHandlerCallback interface to be able to expand buffers when buffer overflow exceptions happen or to replace buffers
-
-
Field Summary
Fields Modifier and Type Field Description static ApplicationBufferHandlerEMPTYstatic ByteBufferEMPTY_BUFFER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexpand(int size)ByteBuffergetByteBuffer()voidsetByteBuffer(ByteBuffer buffer)
-
-
-
Field Detail
-
EMPTY_BUFFER
static final ByteBuffer EMPTY_BUFFER
-
EMPTY
static final ApplicationBufferHandler EMPTY
-
-
Method Detail
-
setByteBuffer
void setByteBuffer(ByteBuffer buffer)
-
getByteBuffer
ByteBuffer getByteBuffer()
-
expand
void expand(int size)
-
-