Apache Tomcat 7.0.28

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 static class NioEndpoint.NioBufferHandler
extends Object
implements SecureNioChannel.ApplicationBufferHandler


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

Field Detail

readbuf

protected ByteBuffer readbuf

writebuf

protected ByteBuffer writebuf
Constructor Detail

NioEndpoint.NioBufferHandler

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

expand

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

getReadBuffer

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

getWriteBuffer

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

Apache Tomcat 7.0.28

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