Uses of Class
org.glassfish.grizzly.http.util.DataChunk

Packages that use DataChunk
org.glassfish.grizzly.http   
org.glassfish.grizzly.http.util   
 

Uses of DataChunk in org.glassfish.grizzly.http
 

Fields in org.glassfish.grizzly.http declared as DataChunk
 DataChunk HttpCodecFilter.HeaderParsingState.headerValueStorage
           
protected  DataChunk HttpRequestPacket.localAddressC
           
protected  DataChunk HttpRequestPacket.localNameC
           
protected  DataChunk HttpHeader.protocolC
           
protected  DataChunk HttpRequestPacket.remoteAddressC
           
protected  DataChunk HttpRequestPacket.remoteHostC
           
protected  DataChunk HttpHeader.upgrade
           
 

Methods in org.glassfish.grizzly.http that return DataChunk
 DataChunk HttpRequestPacket.authType()
          Return the authentication type used for this Request.
 DataChunk LazyCookieState.getComment()
           
 DataChunk LazyCookieState.getDomain()
           
 DataChunk HttpRequestPacket.getMethodDC()
          Get the HTTP request method as DataChunk (avoiding creation of a String object).
 DataChunk LazyCookieState.getName()
           
 DataChunk LazyCookieState.getPath()
           
 DataChunk HttpHeader.getProtocolDC()
          Get the HTTP message protocol version as DataChunk (avoiding creation of a String object).
 DataChunk HttpRequestPacket.getQueryStringDC()
          Returns the query string that is contained in the request URL after the path.
 DataChunk HttpResponsePacket.getReasonPhraseDC()
          Gets the status reason phrase for this response as DataChunk (avoid creation of a String object}.
 DataChunk HttpResponsePacket.getReasonPhraseRawDC()
          Gets the custom status reason phrase for this response as DataChunk (avoid creation of a String object}.
 DataChunk HttpHeader.getUpgradeDC()
           
 DataChunk LazyCookieState.getValue()
           
 DataChunk HttpRequestPacket.localAddr()
           
 DataChunk HttpRequestPacket.localName()
           
 DataChunk HttpRequestPacket.remoteAddr()
           
 DataChunk HttpRequestPacket.remoteHost()
           
 DataChunk HttpRequestPacket.remoteUser()
          Return the name of the remote user that has been authenticated for this Request.
 DataChunk HttpRequestPacket.serverName()
          Return the buffer holding the server name, if any.
 

Methods in org.glassfish.grizzly.http with parameters of type DataChunk
protected static Buffer HttpCodecFilter.encodeMimeHeader(MemoryManager memoryManager, Buffer buffer, DataChunk name, DataChunk value, boolean encodeLastCRLF)
           
protected  void HttpHeader.extractContentEncoding(DataChunk value)
          Obtain content-encoding value and mark it as serialized.
static Method Method.parseDataChunk(DataChunk methodC)
          Deprecated. pls. use Method.valueOf(org.glassfish.grizzly.http.util.DataChunk).
static Protocol Protocol.parseDataChunk(DataChunk protocolC)
           
static Method Method.valueOf(DataChunk methodC)
           
 

Uses of DataChunk in org.glassfish.grizzly.http.util
 

Subclasses of DataChunk in org.glassfish.grizzly.http.util
 class CacheableDataChunk
          DataChunk implementation, which could be cached in the thread cache.
 

Methods in org.glassfish.grizzly.http.util that return DataChunk
 DataChunk MimeHeaders.addValue(Buffer buffer, int startN, int len)
          Create a new named header using un-translated byte[].
 DataChunk MimeHeaders.addValue(Header header)
          Create a new named header , return the MessageBytes container for the new value
 DataChunk MimeHeaders.addValue(String name)
          Create a new named header , return the MessageBytes container for the new value
static DataChunk HttpStatus.filter(DataChunk message)
          Filter the specified message string for characters that are sensitive in HTML.
 DataChunk RequestURIRef.getDecodedRequestURIBC()
           
 DataChunk RequestURIRef.getDecodedRequestURIBC(boolean isSlashAllowed)
           
 DataChunk RequestURIRef.getDecodedRequestURIBC(boolean isSlashAllowed, Charset charset)
           
 DataChunk MimeHeaders.getName(int n)
          Returns the Nth header name, or null if there is no such header.
 DataChunk RequestURIRef.getOriginalRequestURIBC()
           
 DataChunk RequestURIRef.getRequestURIBC()
           
 DataChunk MimeHeaders.getValue(Header header)
          Finds and returns a header field with the given name.
 DataChunk MimeHeaders.getValue(int n)
          Returns the Nth header value, or null if there is no such header.
 DataChunk MimeHeaders.getValue(String name)
          Finds and returns a header field with the given name.
static DataChunk DataChunk.newInstance()
           
static DataChunk DataChunk.newInstance(BufferChunk bufferChunk, CharChunk charChunk, String stringValue)
           
 DataChunk MimeHeaders.setValue(Header header)
          Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .
 DataChunk MimeHeaders.setValue(String name)
          Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .
 DataChunk DataChunk.toImmutable()
           
 

Methods in org.glassfish.grizzly.http.util with parameters of type DataChunk
static float HttpUtils.convertQValueToFloat(DataChunk dc, int startIdx, int stopIdx)
           
static void HttpRequestURIDecoder.convertToChars(DataChunk decodedURI, Charset encoding)
          Converts the normalized the HTTP request represented by the bytes inside DataChunk to chars representation, using the passed encoding.
static void HttpRequestURIDecoder.decode(DataChunk decodedURI)
          Decode the HTTP request represented by the bytes inside DataChunk.
static void URLDecoder.decode(DataChunk dataChunk)
           
static void HttpRequestURIDecoder.decode(DataChunk decodedURI, boolean isSlashAllowed)
          Decode the HTTP request represented by the bytes inside DataChunk.
static void URLDecoder.decode(DataChunk dataChunk, boolean allowEncodedSlash)
          URLDecode the DataChunk
static void HttpRequestURIDecoder.decode(DataChunk decodedURI, boolean isSlashAllowed, Charset encoding)
          Decode the HTTP request represented by the bytes inside DataChunk.
static void URLDecoder.decode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash)
          URLDecode the DataChunk
static void HttpRequestURIDecoder.decode(DataChunk originalURI, DataChunk targetDecodedURI, boolean isSlashAllowed, Charset encoding)
          Decode the HTTP request represented by the bytes inside DataChunk.
 void DataChunk.duplicate(DataChunk src)
          Copy the src into this DataChunk, allocating more space if needed
static DataChunk HttpStatus.filter(DataChunk message)
          Filter the specified message string for characters that are sensitive in HTML.
static boolean HttpRequestURIDecoder.normalize(DataChunk dataChunk)
          Normalize URI.
static long Ascii.parseLong(DataChunk dataChunk)
           
static long Ascii.parseLong(DataChunk dataChunk, int offset, int length)
           
 void Parameters.processParameters(DataChunk data)
           
 void Parameters.processParameters(DataChunk data, Charset encoding)
           
static Buffer HttpCodecUtils.put(MemoryManager memoryManager, Buffer dstBuffer, DataChunk chunk)
           
 void DataChunk.set(DataChunk value)
           
 void Parameters.setQuery(DataChunk queryBC)
           
static void CookieParserUtils.unescapeDoubleQuotes(DataChunk dc)
          Unescapes any double quotes in the given cookie value.
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.