# Package org.apache.tomcat.util.http.parser

package org.apache.tomcat.util.http.parser

Related Packages
Package
Description
org.apache.tomcat.util.http
Special utils for handling HTTP-specific entities - headers, parameters, cookies, etc.
org.apache.tomcat.util.http.fileupload
NOTE: This code has been copied from commons-fileupload 1.x and commons-io 1.4 and package renamed to avoid clashes with any web apps that may wish to use these libraries.
Class
Description
AcceptEncoding
Represents a single Accept-Encoding value with its quality factor.
AcceptLanguage
Represents a single language entry from an Accept-Language header.
Authorization
Parser for an "Authorization" header.
ChunkExtension
Unlike other HTTP parsers, this is a stateless (state is held by the calling code), streaming parser as chunk headers are read as part of the request body and it is not always possible to buffer then entire chunk header in memory.
ChunkExtension.State
Parsing states for chunk extension.
ContentRange
Represents a parsed Content-Range HTTP header value as defined by RFC 9110.
Cookie
Cookie header parser based on RFC6265
EntityTag
Utility class for parsing and comparing HTTP entity tags (ETags) as defined in RFC 7232.
Host
Utility class for parsing HTTP Host header values.
HttpHeaderParser
Parses HTTP request and response headers from a byte buffer.
HttpHeaderParser.HeaderDataSource
Provides access to the header data buffer for the parser.
HttpHeaderParser.HeaderParsePosition
Possible parser positions during header parsing.
HttpHeaderParser.HeaderParseStatus
Possible return values from `HttpHeaderParser.parseHeader()`.
HttpParser
HTTP header value parser implementation.
MediaType
Represents a parsed media type.
MediaTypeCache
Caches the results of parsing content-type headers.
Priority
HTTP priority header parser as per RFC 9218.
Ranges
Represents the value of an HTTP Range header.
Ranges.Entry
Represents a single range entry with a start and end position.
StructuredField
Parsing of structured fields as per RFC 8941.
TE
Represents a Transfer-Encoding value with optional parameters and quality factor.
TokenList
Utility class for parsing and manipulating HTTP token lists.
Upgrade
Represents an HTTP Upgrade protocol value with optional version.