com.sun.grizzly.standalone
Class DynamicContentAdapter.RequestTupple

java.lang.Object
  extended by com.sun.grizzly.standalone.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.


Field Summary
 ByteChunk readChunk
           
 Request req
           
 
Constructor Summary
DynamicContentAdapter.RequestTupple()
           
 
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
 

Field Detail

readChunk

public ByteChunk readChunk

req

public Request req
Constructor Detail

DynamicContentAdapter.RequestTupple

public DynamicContentAdapter.RequestTupple()
Method Detail

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.