Class SocketBufferHandler

java.lang.Object
org.apache.tomcat.util.net.SocketBufferHandler

public class SocketBufferHandler extends Object
  • Constructor Details

    • SocketBufferHandler

      public SocketBufferHandler(int readBufferSize, int writeBufferSize, boolean direct)
  • Method Details

    • configureReadBufferForWrite

      public void configureReadBufferForWrite()
    • configureReadBufferForRead

      public void configureReadBufferForRead()
    • getReadBuffer

      public ByteBuffer getReadBuffer()
    • isReadBufferEmpty

      public boolean isReadBufferEmpty()
    • unReadReadBuffer

      public void unReadReadBuffer(ByteBuffer returnedData)
    • configureWriteBufferForWrite

      public void configureWriteBufferForWrite()
    • configureWriteBufferForRead

      public void configureWriteBufferForRead()
    • isWriteBufferWritable

      public boolean isWriteBufferWritable()
    • getWriteBuffer

      public ByteBuffer getWriteBuffer()
    • isWriteBufferEmpty

      public boolean isWriteBufferEmpty()
    • reset

      public void reset()
    • expand

      public void expand(int newSize)
    • free

      public void free()