Top Description Interfaces Classes Enums
[default module]

Package org.apache.hc.core5.http.protocol


Core HTTP protocol interceptors.

Interface Summary

Modifier and TypeInterface and Description
public interface
HttpContext

HttpContext represents execution state of an HTTP process.

public interface
HttpProcessor

HTTP protocol processor is a collection of protocol interceptors that implements the 'Chain of Responsibility' pattern, where each individual protocol interceptor is expected to work on a particular aspect of the HTTP protocol the interceptor is responsible for.

public interface
LookupRegistry<
The type of objects to register and lookup.
T
>

A lookup registry.

Class Summary

Modifier and TypeClass and Description
public class
BasicHttpContext

Default implementation of HttpContext.

pack-priv class
ChainBuilder<E>

Builder class to build a linked list (chain) of unique class instances.

public class
DefaultHttpProcessor

Default immutable implementation of HttpProcessor.

public class
HttpCoreContext

Implementation of HttpContext that provides convenience setters for user assignable attributes and getter for readable attributes.

public class
HttpDateGenerator

Generates a date in the format required by the HTTP protocol.

public class
HttpProcessorBuilder

Builder for HttpProcessor instances.

public class
RequestConnControl

RequestConnControl is responsible for adding Connection header to the outgoing requests, which is essential for managing persistence of HTTP/1.0 connections.

public class
RequestContent

RequestContent is the most important interceptor for outgoing requests.

public class
RequestDate

RequestDate interceptor is responsible for adding Date header to the outgoing requests This interceptor is optional for client side protocol processors.

public class
RequestExpectContinue

RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding Expect header.

public class
RequestHandlerRegistry<
request handler type.
T
>

Generic registry of request handlers that can be resolved by properties of request messages.

public class
RequestTargetHost

RequestHostOutgoing is responsible for adding Host header to the outgoing message.

public class
RequestUserAgent

RequestUserAgent is responsible for adding User-Agent header.

public class
RequestValidateHost

RequestTargetHost is responsible for copying Host header value to HttpRequest#setAuthority(URIAuthority) of the incoming message.

public class
ResponseConnControl

ResponseConnControl is responsible for adding Connection header to the outgoing responses, which is essential for managing persistence of HTTP/1.0 connections.

public class
ResponseContent

ResponseContent is the most important interceptor for outgoing responses.

public class
ResponseDate

ResponseDate is responsible for adding Date header to the outgoing responses.

public class
ResponseServer

ResponseServer is responsible for adding Server header.

public class
UriPatternMatcher<
The type of registered objects.
T
>

Maintains a map of objects keyed by a request URI pattern.

public class
UriPatternOrderedMatcher<
The type of registered objects.
T
>

Maintains a map of objects keyed by a request URI pattern.

public class
UriRegexMatcher<
The type of registered objects.
T
>

Maintains a map of objects keyed by a request URI regular expression.

Enum Summary

Modifier and TypeEnum and Description
public enum