Top Description Fields Methods
org.apache.tomcat.util.net

public Interface ApplicationBufferHandler

Known Direct Implementers
org.apache.catalina.connector.InputBuffer, org.apache.coyote.http11.Http11InputBuffer, org.apache.coyote.http11.filters.BufferedInputFilter, org.apache.coyote.http11.filters.ChunkedInputFilter, org.apache.coyote.http11.filters.IdentityInputFilter, org.apache.coyote.http11.upgrade.UpgradeApplicationBufferHandler
Imports
java.nio.ByteBuffer

Callback interface to be able to expand buffers when buffer overflow exceptions happen or to replace buffers

Field Summary

Modifier and TypeField and Description
public static final ApplicationBufferHandler
public static final ByteBuffer

Method Summary

Modifier and TypeMethod and Description
public void
expand(int size)

public ByteBuffer
public void

Field Detail

EMPTYback to summary
public static final ApplicationBufferHandler EMPTY
EMPTY_BUFFERback to summary
public static final ByteBuffer EMPTY_BUFFER

Method Detail

expandback to summary
public void expand(int size)
getByteBufferback to summary
public ByteBuffer getByteBuffer()
setByteBufferback to summary
public void setByteBuffer(ByteBuffer buffer)