Uses of Class
org.glassfish.grizzly.http.util.DataChunk
Packages that use DataChunk
-
Uses of DataChunk in org.glassfish.grizzly.http
Fields in org.glassfish.grizzly.http declared as DataChunkModifier and TypeFieldDescriptionHttpCodecFilter.HeaderParsingState.headerValueStorageprotected final DataChunkHttpRequestPacket.localAddressCprotected final DataChunkHttpRequestPacket.localNameCprotected final DataChunkHttpHeader.protocolCprotected final DataChunkHttpRequestPacket.remoteAddressCprotected final DataChunkHttpRequestPacket.remoteHostCprotected DataChunkHttpRequestPacket.unparsedHostCprotected final DataChunkHttpHeader.upgradeMethods in org.glassfish.grizzly.http that return DataChunkModifier and TypeMethodDescriptionHttpRequestPacket.authType()LazyCookieState.getComment()LazyCookieState.getDomain()HttpRequestPacket.getMethodDC()Get the HTTP request method asDataChunk(avoiding creation of a String object).LazyCookieState.getName()LazyCookieState.getPath()HttpHeader.getProtocolDC()Get the HTTP message protocol version asDataChunk(avoiding creation of a String object).HttpRequestPacket.getQueryStringDC()Returns the query string that is contained in the request URL after the path.final DataChunkHttpResponsePacket.getReasonPhraseDC()Gets the status reason phrase for this response asDataChunk(avoid creation of a String object}.final DataChunkHttpResponsePacket.getReasonPhraseRawDC()Gets the custom status reason phrase for this response asDataChunk(avoid creation of a String object}.HttpHeader.getUpgradeDC()LazyCookieState.getValue()HttpRequestPacket.localAddr()HttpRequestPacket.localName()HttpRequestPacket.remoteAddr()HttpRequestPacket.remoteHost()HttpRequestPacket.remoteUser()HttpRequestPacket.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 DataChunkModifier and TypeMethodDescriptionprotected 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) booleanprotected voidHttpHeader.extractContentEncoding(DataChunk value) Obtain content-encoding value and mark it as serialized.static Methodstatic ProtocolReturns the enum constant of this class with the specified name. -
Uses of DataChunk in org.glassfish.grizzly.http.util
Subclasses of DataChunk in org.glassfish.grizzly.http.utilModifier and TypeClassDescriptionclassDataChunkimplementation, which could be cached in the thread cache.Fields in org.glassfish.grizzly.http.util declared as DataChunkMethods in org.glassfish.grizzly.http.util that return DataChunkModifier and TypeMethodDescriptionMimeHeaders.addValue(byte[] buffer, int startN, int len) Create a new named header using un-translated byte[].Create a new named header , return the MessageBytes container for the new valueMimeHeaders.addValue(org.glassfish.grizzly.Buffer buffer, int startN, int len) Create a new named header using un-translated Buffer.Create a new named header , return the MessageBytes container for the new valuestatic DataChunkFilter the specified message string for characters that are sensitive in HTML.static DataChunkHttpUtils.filterNonPrintableCharacters(DataChunk message) Filter non-printable ASCII characters.final DataChunkRequestURIRef.getDecodedRequestURIBC()RequestURIRef.getDecodedRequestURIBC(boolean isSlashAllowed) RequestURIRef.getDecodedRequestURIBC(boolean isSlashAllowed, Charset charset) MimeHeaders.getName(int n) Returns the Nth header name, or null if there is no such header.final DataChunkRequestURIRef.getOriginalRequestURIBC()final DataChunkRequestURIRef.getRequestURIBC()MimeHeaders.getValue(int n) Returns the Nth header value, or null if there is no such header.Finds and returns a header field with the given name.Finds and returns a header field with the given name.static DataChunkDataChunk.newInstance()static DataChunkDataChunk.newInstance(ByteChunk byteChunk, BufferChunk bufferChunk, CharChunk charChunk, String stringValue) Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .DataChunk.toImmutable()Methods in org.glassfish.grizzly.http.util with parameters of type DataChunkModifier and TypeMethodDescriptionstatic 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 voidDecode the HTTP request represented by the bytes insideDataChunk.static voidDecode the HTTP request represented by the bytes insideDataChunk.static voidDecode 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 voidstatic voidURLDecode theDataChunkstatic voidURLDecode theDataChunkstatic voidURLDecoder.decode(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash, String enc) URLDecode theDataChunkstatic voidURLDecoder.decodeAscii(DataChunk srcDataChunk, DataChunk dstDataChunk, boolean allowEncodedSlash) URLDecode theDataChunkvoidCopy the src into this DataChunk, allocating more space if neededstatic DataChunkFilter the specified message string for characters that are sensitive in HTML.static DataChunkHttpUtils.filterNonPrintableCharacters(DataChunk message) Filter non-printable ASCII characters.static booleanNormalize URI.static voidHttpCodecUtils.parseHost(DataChunk hostDC, DataChunk serverNameDC, HttpRequestPacket request) static intParses an unsigned integer from the specifiedDataChunk.static intParses an unsigned integer from the specified part ofDataChunk.static longstatic longvoidParameters.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.voidvoidvoidstatic voidCookieParserUtils.unescapeDoubleQuotes(DataChunk dc) Unescapes any double quotes in the given cookie value.