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

Core HTTP protocol interceptors.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  HttpContext | HttpContext represents execution state of an HTTP process.
  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.
  LookupRegistry<T> | A lookup registry.

- Class Summary
  Class | Description
  --- | ---
  BasicHttpContext | Default implementation of `HttpContext`.
  DefaultHttpProcessor | Default immutable implementation of `HttpProcessor`.
  HttpCoreContext | Implementation of `HttpContext` that provides convenience setters for user assignable attributes and getter for readable attributes.
  HttpDateGenerator | Generates a date in the format required by the HTTP protocol.
  HttpProcessorBuilder | Builder for `HttpProcessor` instances.
  RequestConnControl | RequestConnControl is responsible for adding `Connection` header to the outgoing requests, which is essential for managing persistence of `HTTP/1.0` connections.
  RequestContent | RequestContent is the most important interceptor for outgoing requests.
  RequestDate | RequestDate interceptor is responsible for adding `Date` header to the outgoing requests This interceptor is optional for client side protocol processors.
  RequestExpectContinue | RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding `Expect` header.
  RequestHandlerRegistry<T> | Generic registry of request handlers that can be resolved by properties of request messages.
  RequestTargetHost | RequestHostOutgoing is responsible for adding `Host` header to the outgoing message.
  RequestUserAgent | RequestUserAgent is responsible for adding `User-Agent` header.
  RequestValidateHost | RequestTargetHost is responsible for copying `Host` header value to `HttpRequest.setAuthority(URIAuthority)` of the incoming message.
  ResponseConnControl | ResponseConnControl is responsible for adding `Connection` header to the outgoing responses, which is essential for managing persistence of `HTTP/1.0` connections.
  ResponseContent | ResponseContent is the most important interceptor for outgoing responses.
  ResponseDate | ResponseDate is responsible for adding `Date` header to the outgoing responses.
  ResponseServer | ResponseServer is responsible for adding `Server` header.
  UriPatternMatcher<T> | Maintains a map of objects keyed by a request URI pattern.
  UriPatternOrderedMatcher<T> | Maintains a map of objects keyed by a request URI pattern.
  UriRegexMatcher<T> | Maintains a map of objects keyed by a request URI regular expression.

- Enum Summary
  Enum | Description
  --- | ---
  UriPatternType |

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

Core HTTP protocol interceptors.

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.