Package org.apache.coyote.http11.upgrade
Class UpgradeApplicationBufferHandler
- java.lang.Object
-
- org.apache.coyote.http11.upgrade.UpgradeApplicationBufferHandler
-
- All Implemented Interfaces:
ApplicationBufferHandler
public class UpgradeApplicationBufferHandler extends java.lang.Object implements ApplicationBufferHandler
Trivial implementation ofApplicationBufferHandler
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
Constructors Constructor Description UpgradeApplicationBufferHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expand(int size)
java.nio.ByteBuffer
getByteBuffer()
void
setByteBuffer(java.nio.ByteBuffer byteBuffer)
-
-
-
Method Detail
-
setByteBuffer
public void setByteBuffer(java.nio.ByteBuffer byteBuffer)
- Specified by:
setByteBuffer
in interfaceApplicationBufferHandler
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
- Specified by:
getByteBuffer
in interfaceApplicationBufferHandler
-
expand
public void expand(int size)
- Specified by:
expand
in interfaceApplicationBufferHandler
-
-