org.apache.tomcat.util.net

Class NioEndpoint.NioBufferHandler

public class NioEndpoint.NioBufferHandler extends Object implements SecureNioChannel.ApplicationBufferHandler

Field Summary
protected ByteBufferreadbuf
protected ByteBufferwritebuf
Constructor Summary
NioBufferHandler(int readsize, int writesize, boolean direct)
Method Summary
ByteBufferexpand(ByteBuffer buffer, int remaining)
ByteBuffergetReadBuffer()
ByteBuffergetWriteBuffer()

Field Detail

readbuf

protected ByteBuffer readbuf

writebuf

protected ByteBuffer writebuf

Constructor Detail

NioBufferHandler

public NioBufferHandler(int readsize, int writesize, boolean direct)

Method Detail

expand

public ByteBuffer expand(ByteBuffer buffer, int remaining)

getReadBuffer

public ByteBuffer getReadBuffer()

getWriteBuffer

public ByteBuffer getWriteBuffer()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.