Uses of Class
org.glassfish.grizzly.http.util.DataChunk
-
Packages that use DataChunk Package Description 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 Modifier and Type Field Description DataChunkHttpCodecFilter.HeaderParsingState. headerValueStorageprotected DataChunkHttpRequestPacket. localAddressCprotected DataChunkHttpRequestPacket. localNameCprotected DataChunkHttpHeader. protocolCprotected DataChunkHttpRequestPacket. remoteAddressCprotected DataChunkHttpRequestPacket. remoteHostCprotected DataChunkHttpRequestPacket. unparsedHostCprotected DataChunkHttpHeader. upgradeMethods in org.glassfish.grizzly.http that return DataChunk Modifier and Type Method Description DataChunkHttpRequestPacket. authType()DataChunkLazyCookieState. getComment()DataChunkLazyCookieState. getDomain()DataChunkHttpRequestPacket. getMethodDC()Get the HTTP request method asDataChunk(avoiding creation of a String object).DataChunkLazyCookieState. getName()DataChunkLazyCookieState. getPath()DataChunkHttpHeader. getProtocolDC()Get the HTTP message protocol version asDataChunk(avoiding creation of a String object).DataChunkHttpRequestPacket. getQueryStringDC()Returns the query string that is contained in the request URL after the path.DataChunkHttpResponsePacket. getReasonPhraseDC()Gets the status reason phrase for this response asDataChunk(avoid creation of a String object}.DataChunkHttpResponsePacket. getReasonPhraseRawDC()Gets the custom status reason phrase for this response asDataChunk(avoid creation of a String object}.DataChunkHttpHeader. getUpgradeDC()DataChunkLazyCookieState. getValue()DataChunkHttpRequestPacket. localAddr()DataChunkHttpRequestPacket. localName()DataChunkHttpRequestPacket. remoteAddr()DataChunkHttpRequestPacket. remoteHost()DataChunkHttpRequestPacket. remoteUser()DataChunkHttpRequestPacket. serverName()Return the buffer holding the server name, if any.protected DataChunkHttpRequestPacket. serverNameRaw()Return the buffer holding the server name, if any.Methods in org.glassfish.grizzly.http with parameters of type DataChunk Modifier and Type Method Description protected static org.glassfish.grizzly.BufferHttpCodecFilter. encodeMimeHeader(org.glassfish.grizzly.memory.MemoryManager memoryManager, org.glassfish.grizzly.Buffer buffer, DataChunk name, DataChunk value, byte[] tempBuffer, boolean encodeLastCRLF)booleanProtocol. equals(DataChunk protocolC)protected voidHttpHeader. extractContentEncoding(DataChunk value)Obtain content-encoding value and mark it as serialized.static MethodMethod. valueOf(DataChunk methodC)static ProtocolProtocol. valueOf(DataChunk protocolC)Returns the enum constant of this type with the specified name. -
Uses of DataChunk in org.glassfish.grizzly.http.util
Subclasses of DataChunk in org.glassfish.grizzly.http.util Modifier and Type Class Description classCacheableDataChunkDataChunkimplementation, which could be cached in the thread cache.Fields in org.glassfish.grizzly.http.util declared as DataChunk Modifier and Type Field Description static DataChunkMimeHeaders. NOOP_CHUNKMethods in org.glassfish.grizzly.http.util that return DataChunk Modifier and Type Method Description DataChunkMimeHeaders. addValue(byte[] buffer, int startN, int len)Create a new named header using un-translated byte[].DataChunkMimeHeaders. addValue(String name)Create a new named header , return the MessageBytes container for the new valueDataChunkMimeHeaders. addValue(org.glassfish.grizzly.Buffer buffer, int startN, int len)Create a new named header using un-translated Buffer.DataChunkMimeHeaders. addValue(Header header)Create a new named header , return the MessageBytes container for the new valuestatic DataChunkHttpUtils. filter(DataChunk message)Filter the specified message string for characters that are sensitive in HTML.static DataChunkHttpUtils. filterNonPrintableCharacters(DataChunk message)Filter non-printable ASCII characters.DataChunkRequestURIRef. getDecodedRequestURIBC()DataChunkRequestURIRef. getDecodedRequestURIBC(boolean isSlashAllowed)DataChunkRequestURIRef. getDecodedRequestURIBC(boolean isSlashAllowed, Charset charset)DataChunkMimeHeaders. getName(int n)Returns the Nth header name, or null if there is no such header.DataChunkRequestURIRef. getOriginalRequestURIBC()DataChunkRequestURIRef. getRequestURIBC()DataChunkMimeHeaders. getValue(int n)Returns the Nth header value, or null if there is no such header.DataChunkMimeHeaders. getValue(String name)Finds and returns a header field with the given name.DataChunkMimeHeaders. getValue(Header header)Finds and returns a header field with the given name.static DataChunkDataChunk. newInstance()static DataChunkDataChunk. newInstance(ByteChunk byteChunk, BufferChunk bufferChunk, CharChunk charChunk, String stringValue)DataChunkMimeHeaders. setValue(String name)Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .DataChunkMimeHeaders. setValue(Header header)Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .DataChunkDataChunk. toImmutable()Methods in org.glassfish.grizzly.http.util with parameters of type DataChunk Modifier and Type Method Description static floatHttpUtils. convertQValueToFloat(DataChunk dc, int startIdx, int stopIdx)static voidHttpRequestURIDecoder. convertToChars(DataChunk decodedURI, Charset encoding)Converts the normalized the HTTP request represented by the bytes insideDataChunkto chars representation, using the passed encoding.static voidHttpRequestURIDecoder. decode(DataChunk decodedURI)Decode the HTTP request represented by the bytes insideDataChunk.static voidHttpRequestURIDecoder. decode(DataChunk decodedURI, boolean isSlashAllowed)Decode the HTTP request represented by the bytes insideDataChunk.static voidHttpRequestURIDecoder. decode(DataChunk decodedURI, boolean isSlashAllowed, Charset encoding)Decode the HTTP request represented by the bytes insideDataChunk.static voidHttpRequestURIDecoder. decode(DataChunk originalURI, DataChunk targetDecodedURI, boolean isSlashAllowed, Charset encoding)Decode the HTTP request represented by the bytes insideDataChunk.static voidURLDecoder. decode(DataChunk dataChunk)static voidURLDecoder. decode(DataChunk dataChunk, boolean allowEncodedSlash)URLDecode theDataChunkstatic voidURLDecoder. decode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash)URLDecode theDataChunkstatic voidURLDecoder. decode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash, String enc)URLDecode theDataChunkstatic voidURLDecoder. decodeAscii(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash)URLDecode theDataChunkvoidDataChunk. duplicate(DataChunk src)Copy the src into this DataChunk, allocating more space if neededstatic DataChunkHttpUtils. filter(DataChunk message)Filter the specified message string for characters that are sensitive in HTML.static DataChunkHttpUtils. filterNonPrintableCharacters(DataChunk message)Filter non-printable ASCII characters.static booleanHttpRequestURIDecoder. normalize(DataChunk dataChunk)Normalize URI.static voidHttpCodecUtils. parseHost(DataChunk hostDC, DataChunk serverNameDC, HttpRequestPacket request)static intAscii. parseInt(DataChunk dataChunk)Parses an unsigned integer from the specifiedDataChunk.static intAscii. parseInt(DataChunk dataChunk, int offset, int length)Parses an unsigned integer from the specified part ofDataChunk.static longAscii. parseLong(DataChunk dataChunk)static longAscii. parseLong(DataChunk dataChunk, int offset, int length)voidParameters. processParameters(DataChunk data)voidParameters. processParameters(DataChunk data, Charset encoding)static org.glassfish.grizzly.BufferHttpCodecUtils. put(org.glassfish.grizzly.memory.MemoryManager memoryManager, org.glassfish.grizzly.Buffer dstBuffer, byte[] tempBuffer, DataChunk chunk)voidContentType. serializeToDataChunk(DataChunk dc)Serializes this ContentType value into a passedDataChunk.voidHeaderValue. serializeToDataChunk(DataChunk dc)Serializes this HeaderValue value into a passedDataChunk.voidDataChunk. set(DataChunk value)voidDataChunk. set(DataChunk value, int start, int end)voidParameters. setQuery(DataChunk queryBC)static voidCookieParserUtils. unescapeDoubleQuotes(DataChunk dc)Unescapes any double quotes in the given cookie value.
-