Uses of Class
org.apache.tomcat.util.buf.ByteChunk

Packages that use ByteChunk
com.sun.enterprise.web.connector.grizzly   
com.sun.enterprise.web.connector.grizzly.handlers   
com.sun.enterprise.web.connector.grizzly.standalone   
org.apache.coyote   
org.apache.coyote.http11   
org.apache.coyote.http11.filters   
org.apache.tomcat.util.buf Buffers and Encodings 
 

Uses of ByteChunk in com.sun.enterprise.web.connector.grizzly
 

Methods in com.sun.enterprise.web.connector.grizzly 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.enterprise.web.connector.grizzly.handlers
 

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

Uses of ByteChunk in com.sun.enterprise.web.connector.grizzly.standalone
 

Methods in com.sun.enterprise.web.connector.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 org.apache.coyote
 

Methods in org.apache.coyote 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 org.apache.coyote.http11
 

Fields in org.apache.coyote.http11 declared as ByteChunk
protected  ByteChunk InternalOutputBuffer.socketBuffer
          Socket buffer.
 

Methods in org.apache.coyote.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 org.apache.coyote.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 InternalOutputBuffer.doWrite(ByteChunk chunk, Response res)
          Write the contents of a byte chunk.
 int InternalOutputBuffer.OutputStreamOutputBuffer.doWrite(ByteChunk chunk, Response res)
          Write chunk.
 int OutputFilter.doWrite(ByteChunk chunk, Response unused)
          Write some bytes.
protected  int Http11Processor.findBytes(ByteChunk bc, byte[] b)
          Specialized utility method: find a sequence of lower case bytes inside a ByteChunk.
 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 org.apache.coyote.http11.filters
 

Fields in org.apache.coyote.http11.filters declared as ByteChunk
protected  ByteChunk ChunkedOutputFilter.chunkHeader
          Chunk header.
protected static ByteChunk ChunkedInputFilter.ENCODING
           
protected static ByteChunk ChunkedOutputFilter.ENCODING
           
protected static ByteChunk GzipOutputFilter.ENCODING
           
protected static ByteChunk IdentityInputFilter.ENCODING
           
protected static ByteChunk IdentityOutputFilter.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 org.apache.coyote.http11.filters that return ByteChunk
 ByteChunk BufferedInputFilter.getEncodingName()
           
 ByteChunk ChunkedInputFilter.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 GzipOutputFilter.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 IdentityOutputFilter.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".
 

Methods in org.apache.coyote.http11.filters with parameters of type ByteChunk
 int BufferedInputFilter.doRead(ByteChunk chunk, Request request)
          Fills the given ByteChunk with the buffered request body.
 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 ChunkedOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 int GzipOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 int IdentityOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 int VoidOutputFilter.doWrite(ByteChunk chunk, Response res)
          Write some bytes.
 

Uses of ByteChunk in org.apache.tomcat.util.buf
 

Fields in org.apache.tomcat.util.buf declared as ByteChunk
protected  ByteChunk C2BConverter.bb
           
 

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

Methods in org.apache.tomcat.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 org.apache.tomcat.util.buf with parameters of type ByteChunk
C2BConverter(ByteChunk output, String encoding)
          Create a converter, with bytes going to a byte buffer
 



Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.