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


package org.apache.hc.core5.http.protocol
Core HTTP protocol interceptors.
  • Class
    Description
    Deprecated.
    Do not use.
    Builder class to build a linked list (chain) of unique class instances.
    Default immutable implementation of HttpProcessor.
    This request interceptor can be used by an HTTP proxy or an intermediary to add a Forwarded header to outgoing request messages.
    HttpContext represents execution state of an HTTP process.
    Core execution HttpContext.
    Internal adaptor class that delegates all its method calls to a plain HttpContext.
    Generates a date in the format required by the HTTP protocol.
    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.
    Builder for HttpProcessor instances.
    Deprecated.
    Use RequestRouter for request routing.
    This request interceptor is responsible for execution of the protocol conformance checks on incoming request messages.
    This request interceptor is responsible for adding Connection header to outgoing requests, which is essential for managing persistence of HTTP/1.0 connections.
    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.
    This request interceptor is responsible for adding Date header to outgoing request messages.
    This request interceptor is responsible for activation of the 'expect-continue' handshake by adding a Expect header describing client expectations.
    Deprecated.
    This request interceptor is responsible for adding Host header to outgoing request messages.
    HTTP protocol interceptor responsible for validating and processing the HttpHeaders.TE header field in HTTP/1.1 requests.
    This request interceptor is responsible for adding User-Agent header.
    This request interceptor is responsible for copying Host header value to HttpRequest.setAuthority(URIAuthority) of incoming request messages.
    This response interceptor is responsible for making the protocol conformance checks of outgoing response messages.
    This response interceptor is responsible for adding Connection header to outgoing responses, which is essential for managing persistence of HTTP/1.0 connections.
    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.
    This response interceptor is responsible for adding Date header to outgoing response messages.
    This response interceptor is responsible for adding Server header.
    Deprecated.
    Use RequestRouter for request routing.
    Deprecated.
    Use RequestRouter for request routing.
     
    Deprecated.
    Use RequestRouter for request routing.
    This request interceptor can be used by an HTTP proxy or intemediary to add the HttpHeaders.VIA HTTP header to outgoing request messages.