Package org.apache.hc.client5.http.protocol


package org.apache.hc.client5.http.protocol
HTTP protocol interceptors that enable advanced functionality such as HTTP state management and authentication state caching.
  • Class
    Description
    Adds the Priority request header to HTTP/2+ requests when a per-request priority is configured.
    Client execution HttpContext.
    Internal adaptor class that delegates all its method calls to a plain HttpContext.
    NextNonceInterceptor is an HTTP response interceptor that extracts the nextnonce parameter from the Authentication-Info header of an HTTP response.
    This class represents a collection of URIs used as redirect locations.
    A strategy for determining if an HTTP request should be redirected to a new location in response to an HTTP response received from the target server.
    Request interceptor that matches cookies available in the current CookieStore to the request being executed and generates corresponding Cookie request headers.
    Deprecated.
    Do not use.
    This protocol interceptor is responsible for adding the Connection header to the outgoing requests, which is essential for managing persistence of HTTP/1.0 connections.
    Request interceptor that adds default request headers.
    RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding Expect header.
    The RequestIfRange interceptor ensures that the request adheres to the RFC guidelines for the 'If-Range' header.
     
    RequestTraceInterceptor
    Response interceptor that populates the current CookieStore with data contained in response cookies received in the given the HTTP response.