com.sun.grizzly.tcp
Class DynamicContentAdapter.RequestTupple
java.lang.Object
com.sun.grizzly.tcp.DynamicContentAdapter.RequestTupple
- All Implemented Interfaces:
- ByteChunk.ByteInputChannel
- Enclosing class:
- DynamicContentAdapter
public class DynamicContentAdapter.RequestTupple
- extends Object
- implements ByteChunk.ByteInputChannel
Statefull token used to share information with the Containers.
Method Summary |
int |
realReadBytes(byte[] b,
int off,
int len)
Read new bytes ( usually the internal conversion buffer ). |
void |
recycle()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readChunk
public ByteChunk readChunk
req
public Request req
inputStream
public com.sun.grizzly.tcp.DynamicContentAdapter.GrizzlyInputStream inputStream
DynamicContentAdapter.RequestTupple
public DynamicContentAdapter.RequestTupple()
realReadBytes
public int realReadBytes(byte[] b,
int off,
int len)
throws IOException
- Description copied from interface:
ByteChunk.ByteInputChannel
- Read new bytes ( usually the internal conversion buffer ).
The implementation is allowed to ignore the parameters,
and mutate the chunk if it wishes to implement its own buffering.
- Specified by:
realReadBytes
in interface ByteChunk.ByteInputChannel
- Throws:
IOException
recycle
public void recycle()
Copyright © 2008 SUN Microsystems. All Rights Reserved.