org.apache.tomcat.util.net
Class NioEndpoint.NioBufferHandler
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readbuf
protected java.nio.ByteBuffer readbuf
writebuf
protected java.nio.ByteBuffer writebuf
NioEndpoint.NioBufferHandler
public NioEndpoint.NioBufferHandler(int readsize,
int writesize,
boolean direct)
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
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.