Package org.glassfish.grizzly.http.util
package org.glassfish.grizzly.http.util
-
ClassDescriptionThis class implements some basic ASCII character handling functions.Efficient conversion of bytes to character .Efficient conversion of bytes to character .
Buffer
chunk representation.This class is used to represent a chunk of bytes, and utilities to manipulate byte[].Efficient conversion of character to bytes.DataChunk
implementation, which could be cached in the thread cache.Utilities to manipulate char chunks.When we need more space we'll either grow the buffer ( up to the limit ) or send it to a channel.General interface forCharChunk
andBufferChunk
.Constants.This class serves as a Content-Type holder, plus it implements useful utility methods to work with content-type.MutableContentType
object.Cookie header generator based on RFC6265Cookie header parser based on RFC6265The set of Cookie utility methods for cookie parsing.The set of Cookie utility methods for cookie serialization.The general set of Cookie utility methods.Buffer
chunk representation.Fast date formatter that caches recently formatted date information and uses it to avoid too-frequent calls to the underlying formatter.Utility class to generate HTTP dates.Enumeration of all headers as defined inRFC 2616
.This class serves as an HTTP header value holder, plus it implements useful utility methods to optimize headers serialization.Library of utility methods useful in dealing with converting byte arrays to and from strings of hexadecimal digits.General HttpCodec utility methods.Utility class that make sure an HTTP url defined inside aMessageBytes
is normalized, converted and valid.Thisenum
encapsulates the HTTP response status and reason phrases as defined byRFC 2616
.Utility class.This class is used to represent a subarray of bytes in an HTTP message.Memory-efficient repository for Mime Headers.Hardcoded mime-type supported by default.Request URI holder.This class implements a String cache for ByteChunk and CharChunk.An internationalization / localization helper class which reduces the bother of handling ResourceBundles and takes care of the common cases of message formatting which otherwise require the creation of Object arrays and such.Main tool for object expiry.All URL decoding happens here.Efficient implementation for encoders.