Apache Tomcat 6.0.53

org.apache.tomcat.util.net
Class NioEndpoint.NioBufferHandler

java.lang.Object
  extended by org.apache.tomcat.util.net.NioEndpoint.NioBufferHandler
All Implemented Interfaces:
SecureNioChannel.ApplicationBufferHandler
Enclosing class:
NioEndpoint

public class NioEndpoint.NioBufferHandler
extends java.lang.Object
implements SecureNioChannel.ApplicationBufferHandler


Field Summary
protected  java.nio.ByteBuffer readbuf
           
protected  java.nio.ByteBuffer writebuf
           
 
Constructor Summary
NioEndpoint.NioBufferHandler(int readsize, int writesize, boolean direct)
           
 
Method Summary
 java.nio.ByteBuffer expand(java.nio.ByteBuffer buffer, int remaining)
           
 java.nio.ByteBuffer getReadBuffer()
           
 java.nio.ByteBuffer getWriteBuffer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readbuf

protected java.nio.ByteBuffer readbuf

writebuf

protected java.nio.ByteBuffer writebuf
Constructor Detail

NioEndpoint.NioBufferHandler

public NioEndpoint.NioBufferHandler(int readsize,
                                    int writesize,
                                    boolean direct)
Method Detail

expand

public java.nio.ByteBuffer expand(java.nio.ByteBuffer buffer,
                                  int remaining)
Specified by:
expand in interface SecureNioChannel.ApplicationBufferHandler

getReadBuffer

public java.nio.ByteBuffer getReadBuffer()
Specified by:
getReadBuffer in interface SecureNioChannel.ApplicationBufferHandler

getWriteBuffer

public java.nio.ByteBuffer getWriteBuffer()
Specified by:
getWriteBuffer in interface SecureNioChannel.ApplicationBufferHandler

Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.