Class SocketBufferHandler
java.lang.Object
org.apache.tomcat.util.net.SocketBufferHandler
-
Constructor Summary
ConstructorDescriptionSocketBufferHandler
(int readBufferSize, int writeBufferSize, boolean direct) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
expand
(int newSize) void
free()
boolean
boolean
boolean
void
reset()
void
unReadReadBuffer
(ByteBuffer returnedData)
-
Constructor Details
-
SocketBufferHandler
public SocketBufferHandler(int readBufferSize, int writeBufferSize, boolean direct)
-
-
Method Details
-
configureReadBufferForWrite
public void configureReadBufferForWrite() -
configureReadBufferForRead
public void configureReadBufferForRead() -
getReadBuffer
-
isReadBufferEmpty
public boolean isReadBufferEmpty() -
unReadReadBuffer
-
configureWriteBufferForWrite
public void configureWriteBufferForWrite() -
configureWriteBufferForRead
public void configureWriteBufferForRead() -
isWriteBufferWritable
public boolean isWriteBufferWritable() -
getWriteBuffer
-
isWriteBufferEmpty
public boolean isWriteBufferEmpty() -
reset
public void reset() -
expand
public void expand(int newSize) -
free
public void free()
-