Top Interfaces Classes Enums
module org.glassfish.grizzly.http

Package org.glassfish.grizzly.http.util


Interface Summary

Modifier and TypeInterface and Description
public interface
Chunk

General interface for CharChunk and BufferChunk.

Class Summary

Modifier and TypeClass and Description
public class
Ascii

This class implements some basic ASCII character handling functions.

public class
B2CConverter

Efficient conversion of bytes to character .

public class
B2CConverterBlocking

Efficient conversion of bytes to character .

pack-priv abstract class
public class
BufferChunk

Buffer chunk representation.

public class
ByteChunk

This class is used to represent a chunk of bytes, and utilities to manipulate byte[].

public class
C2BConverter

Efficient conversion of character to bytes.

public class
CacheableDataChunk

DataChunk implementation, which could be cached in the thread cache.

public class
CharChunk

Utilities to manipulate char chunks.

public class
Constants

Constants.

public class
ContentType

This class serves as a Content-Type holder, plus it implements useful utility methods to work with content-type.

public class
CookieHeaderGenerator

Cookie header generator based on RFC6265

public class
CookieHeaderParser

Cookie header parser based on RFC6265

The parsing of cookies using RFC6265 is more relaxed that the specification in the following ways:

  • Values 0x80 to 0xFF are permitted in cookie-octet to support the use of UTF-8 in cookie values as used by HTML 5.
  • For cookies without a value, the '=' is not required after the name as some browsers do not sent it.
public class
CookieParserUtils

The set of Cookie utility methods for cookie parsing.

public class
CookieSerializerUtils

The set of Cookie utility methods for cookie serialization.

public class
CookieUtils

The general set of Cookie utility methods.

public class
DataChunk

Buffer chunk representation.

public class
FastDateFormat

Fast date formatter that caches recently formatted date information and uses it to avoid too-frequent calls to the underlying formatter.

public class
FastHttpDateFormat

Deprecated
Utility class to generate HTTP dates.
public class
HeaderValue

This class serves as an HTTP header value holder, plus it implements useful utility methods to optimize headers serialization.

public class
HexUtils

Library of utility methods useful in dealing with converting byte arrays to and from strings of hexadecimal digits.

public class
HttpCodecUtils

General HttpCodec utility methods.

public class
HttpDateFormat

Utility class to generate HTTP dates.

public class
HttpRequestURIDecoder

Utility class that make sure an HTTP url defined inside a MessageBytes is normalized, converted and valid.

public class
HttpStatus

This enum encapsulates the HTTP response status and reason phrases as defined by RFC 2616.

public class
HttpUtils

Utility class.

pack-priv class
IntermediateInputStream

Special output stream where close() is overriden, so super.close() is never called.

public class
MessageBytes

This class is used to represent a subarray of bytes in an HTTP message.

pack-priv class
public class
MimeHeaders

Memory-efficient repository for Mime Headers.

public class
MimeType

Hardcoded mime-type supported by default.

pack-priv class
NamesIterator

Enumerate the distinct header names.

public class
pack-priv class
public class
RequestURIRef

Request URI holder.

public class
StringCache

This class implements a String cache for ByteChunk and CharChunk.

public class
StringManager

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.

public class
TimeStamp

Main tool for object expiry.

public class
UDecoder

All URL decoding happens here.

public class
UEncoder

Efficient implementation for encoders.

public class
pack-priv class
ValuesIterator

Enumerate the values for a (possibly ) multiple value element.

Enum Summary

Modifier and TypeEnum and Description
public enum
Header

Enumeration of all headers as defined in RFC 2616.