# 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 | Collects 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> | Deprecated Use `RequestRouter` for request routing.

- Class Summary
  Class | Description
  --- | ---
  BasicHttpContext | Deprecated Do not use.
  DefaultHttpProcessor | Default immutable implementation of `HttpProcessor`.
  ForwardedRequest | This request interceptor can be used by an HTTP proxy or an intermediary to add a Forwarded header to outgoing request messages.
  HttpCoreContext | Core execution `HttpContext`.
  HttpDateGenerator | Generates a date in the format required by the HTTP protocol.
  HttpProcessorBuilder | Builder for `HttpProcessor` instances.
  RequestConformance | This request interceptor is responsible for execution of the protocol conformance checks on incoming request messages.
  RequestConnControl | This request interceptor is responsible for adding `Connection` header to outgoing requests, which is essential for managing persistence of `HTTP/1.0` connections.
  RequestContent | This request interceptor is responsible for delimiting the message content by adding `Content-Length` or `Transfer-Content` headers based on the properties of the enclosed entity and the protocol version.
  RequestDate | This request interceptor is responsible for adding `Date` header to outgoing request messages.
  RequestExpectContinue | This request interceptor is responsible for activation of the 'expect-continue' handshake by adding a `Expect` header describing client expectations.
  RequestHandlerRegistry<T> | Deprecated Use `RequestRouter`.
  RequestTargetHost | This request interceptor is responsible for adding `Host` header to outgoing request messages.
  RequestUserAgent | This request interceptor is responsible for adding `User-Agent` header.
  RequestValidateHost | This request interceptor is responsible for copying `Host` header value to `HttpRequest.setAuthority(URIAuthority)` of incoming request messages.
  ResponseConformance | This response interceptor is responsible for making the protocol conformance checks of outgoing response messages.
  ResponseConnControl | This response interceptor is responsible for adding `Connection` header to outgoing responses, which is essential for managing persistence of `HTTP/1.0` connections.
  ResponseContent | This response interceptor is responsible for delimiting the message content by adding `Content-Length` or `Transfer-Content` headers based on the properties of the enclosed entity and the protocol version.
  ResponseDate | This response interceptor is responsible for adding `Date` header to outgoing response messages.
  ResponseServer | This response interceptor is responsible for adding `Server` header.
  UriPatternMatcher<T> | Deprecated Use `RequestRouter` for request routing.
  UriPatternOrderedMatcher<T> | Deprecated Use `RequestRouter` for request routing.
  UriRegexMatcher<T> | Deprecated Use `RequestRouter` for request routing.
  ViaRequest | This request interceptor can be used by an HTTP proxy or intemediary to add the `HttpHeaders.VIA` HTTP header to outgoing request messages.

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

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

Core HTTP protocol interceptors.

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