Package org.apache.coyote.http11.upgrade
Class UpgradeApplicationBufferHandler
java.lang.Object
org.apache.coyote.http11.upgrade.UpgradeApplicationBufferHandler
- All Implemented Interfaces:
ApplicationBufferHandler
Trivial implementation of
ApplicationBufferHandler
to support saving
of HTTP request bodies during an HTTP/1.1 upgrade.-
Field Summary
Fields inherited from interface org.apache.tomcat.util.net.ApplicationBufferHandler
EMPTY, EMPTY_BUFFER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
expand
(int size) void
setByteBuffer
(ByteBuffer byteBuffer)
-
Constructor Details
-
UpgradeApplicationBufferHandler
public UpgradeApplicationBufferHandler()
-
-
Method Details
-
setByteBuffer
- Specified by:
setByteBuffer
in interfaceApplicationBufferHandler
-
getByteBuffer
- Specified by:
getByteBuffer
in interfaceApplicationBufferHandler
-
expand
public void expand(int size) - Specified by:
expand
in interfaceApplicationBufferHandler
-