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 ofApplicationBufferHandlerto support saving of HTTP request bodies during an HTTP/1.1 upgrade.
- 
- 
Field Summary- 
Fields inherited from interface org.apache.tomcat.util.net.ApplicationBufferHandlerEMPTY, EMPTY_BUFFER
 
- 
 - 
Constructor SummaryConstructors Constructor Description UpgradeApplicationBufferHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexpand(int size)java.nio.ByteBuffergetByteBuffer()voidsetByteBuffer(java.nio.ByteBuffer byteBuffer)
 
- 
- 
- 
Method Detail- 
setByteBufferpublic void setByteBuffer(java.nio.ByteBuffer byteBuffer) - Specified by:
- setByteBufferin interface- ApplicationBufferHandler
 
 - 
getByteBufferpublic java.nio.ByteBuffer getByteBuffer() - Specified by:
- getByteBufferin interface- ApplicationBufferHandler
 
 - 
expandpublic void expand(int size) - Specified by:
- expandin interface- ApplicationBufferHandler
 
 
- 
 
-