Uses of Class
com.sun.grizzly.util.buf.ByteChunk

Packages that use ByteChunk
com.sun.grizzly.http   
com.sun.grizzly.standalone   
com.sun.grizzly.tcp   
com.sun.grizzly.tcp.http11   
com.sun.grizzly.tcp.http11.filters   
com.sun.grizzly.util.buf   
 

Uses of ByteChunk in com.sun.grizzly.http
 

Methods in com.sun.grizzly.http with parameters of type ByteChunk
protected  int DefaultProcessorTask.findBytes(ByteChunk bc, byte[] b)
          Specialized utility method: find a sequence of lower case bytes inside a ByteChunk.
 

Uses of ByteChunk in com.sun.grizzly.standalone
 

Fields in com.sun.grizzly.standalone declared as ByteChunk
 ByteChunk DynamicContentAdapter.RequestTupple.readChunk
           
 

Methods in com.sun.grizzly.standalone with parameters of type ByteChunk
protected  int StaticHandler.findBytes(ByteChunk bc, byte[] b)
          Specialized utility method: find a sequence of lower case bytes inside a ByteChunk.
 

Uses of ByteChunk in com.sun.grizzly.tcp
 

Fields in com.sun.grizzly.tcp declared as ByteChunk
 ByteChunk DynamicContentAdapter.RequestTupple.readChunk
           
 

Methods in com.sun.grizzly.tcp with parameters of type ByteChunk
 int Request.doRead(ByteChunk chunk)
          Read data from the input buffer and put it into a byte chunk.
 int InputBuffer.doRead(ByteChunk chunk, Request request)
          Return from the input stream.
 void Response.doWrite(ByteChunk chunk)
          Write a chunk of bytes.
 int OutputBuffer.doWrite(ByteChunk chunk, Response response)
          Writes the response.
 

Uses of ByteChunk in com.sun.grizzly.tcp.http11
 

Fields in com.sun.grizzly.tcp.http11 declared as ByteChunk
protected  ByteChunk InternalOutputBuffer.socketBuffer
          Socket buffer.
 

Methods in com.sun.grizzly.tcp.http11 that return ByteChunk
 ByteChunk InputFilter.getEncodingName()
          Get the name of the encoding handled by this filter.
 ByteChunk OutputFilter.getEncodingName()
          Get the name of the encoding handled by this filter.
 

Methods in com.sun.grizzly.tcp.http11 with parameters of type ByteChunk
 int InputFilter.doRead(ByteChunk chunk, Request unused)
          Read bytes.
 int InternalInputBuffer.doRead(ByteChunk chunk, Request req)
          Read some bytes.
 int InternalInputBuffer.InputStreamInputBuffer.doRead(ByteChunk chunk, Request req)
          Read bytes into the specified chunk.
 int OutputFilter.doWrite(ByteChunk chunk, Response unused)
          Write some bytes.
 int InternalOutputBuffer.doWrite(ByteChunk chunk, Response res)
          Write the contents of a byte chunk.
 int InternalOutputBuffer.OutputStreamOutputBuffer.doWrite(ByteChunk chunk, Response res)
          Write chunk.
 void InternalOutputBuffer.sendHeader(ByteChunk name, ByteChunk value)
          Send a header.
protected  void InternalOutputBuffer.write(ByteChunk bc)
          This method will write the contents of the specyfied message bytes buffer to the output stream, without filtering.
 

Uses of ByteChunk in com.sun.grizzly.tcp.http11.filters
 

Fields in com.sun.grizzly.tcp.http11.filters declared as ByteChunk
protected  ByteChunk ChunkedOutputFilter.chunkHeader
          Chunk header.
protected static ByteChunk ChunkedInputFilter.ENCODING
           
protected static ByteChunk IdentityInputFilter.ENCODING
           
protected static ByteChunk ChunkedOutputFilter.ENCODING
           
protected static ByteChunk IdentityOutputFilter.ENCODING
           
protected static ByteChunk GzipOutputFilter.ENCODING
           
protected static ByteChunk VoidInputFilter.ENCODING
           
protected static ByteChunk VoidOutputFilter.ENCODING
           
protected static ByteChunk ChunkedOutputFilter.END_CHUNK
          End chunk.
protected  ByteChunk IdentityInputFilter.endChunk
          Chunk used to read leftover bytes.
protected  ByteChunk GzipOutputFilter.FakeOutputStream.outputChunk
           
protected  ByteChunk ChunkedInputFilter.readChunk
          Byte chunk used to read bytes.
 

Methods in com.sun.grizzly.tcp.http11.filters that return ByteChunk
 ByteChunk ChunkedInputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "identity".
 ByteChunk IdentityInputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "identity".
 ByteChunk ChunkedOutputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "identity".
 ByteChunk IdentityOutputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "identity".
 ByteChunk GzipOutputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "identity".
 ByteChunk VoidInputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "void".
 ByteChunk VoidOutputFilter.getEncodingName()
          Return the name of the associated encoding; Here, the value is "identity".
 ByteChunk BufferedInputFilter.getEncodingName()
           
 

Methods in com.sun.grizzly.tcp.http11.filters with parameters of type ByteChunk
 int ChunkedInputFilter.doRead(ByteChunk chunk, Request req)
          Read bytes.
 int IdentityInputFilter.doRead(ByteChunk chunk, Request req)
          Read bytes.
 int VoidInputFilter.doRead(ByteChunk chunk, Request req)
          Write some bytes.
 int BufferedInputFilter.doRead(ByteChunk chunk, Request request)
          Fills the given ByteChunk with the buffered request body.
 int ChunkedOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 int IdentityOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 int GzipOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 int VoidOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 

Uses of ByteChunk in com.sun.grizzly.util.buf
 

Fields in com.sun.grizzly.util.buf declared as ByteChunk
protected  ByteChunk C2BConverter.bb
           
 

Methods in com.sun.grizzly.util.buf that return ByteChunk
 ByteChunk MessageBytes.getByteChunk()
          Returns the byte chunk, representing the byte[] and offset/length.
 ByteChunk C2BConverter.getByteChunk()
           
 ByteChunk ByteChunk.getClone()
           
 

Methods in com.sun.grizzly.util.buf with parameters of type ByteChunk
 void ByteChunk.append(ByteChunk src)
           
protected static int StringCache.compare(ByteChunk name, byte[] compareTo)
          Compare given byte chunk with byte array.
 void UDecoder.convert(ByteChunk mb)
          URLDecode, will modify the source.
 void UDecoder.convert(ByteChunk mb, boolean query)
          URLDecode, will modify the source.
 void B2CConverter.convert(ByteChunk bb, CharChunk cb)
          Convert a buffer of bytes into a chars
 void UTF8Decoder.convert(ByteChunk mb, CharChunk cb)
           
 boolean ByteChunk.equals(ByteChunk bb)
           
protected static String StringCache.find(ByteChunk name)
          Find an entry given its name in the cache and return the associated String.
protected static int StringCache.findClosest(ByteChunk name, StringCache.ByteEntry[] array, int len)
          Find an entry given its name in a sorted array of map elements.
static C2BConverter C2BConverter.getInstance(ByteChunk output, String encoding)
           
 void C2BConverter.setByteChunk(ByteChunk bb)
           
 int ByteChunk.substract(ByteChunk src)
           
static String StringCache.toString(ByteChunk bc)
           
 

Constructors in com.sun.grizzly.util.buf with parameters of type ByteChunk
C2BConverter(ByteChunk output, String encoding)
          Create a converter, with bytes going to a byte buffer
 



Copyright © 2010 SUN Microsystems. All Rights Reserved.