Top Description Interfaces Classes
[default module]

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


HTTP protocol interceptors that enable advanced functionality such as HTTP state management and authentication state caching.

Interface Summary

Modifier and TypeInterface and Description
public interface
RedirectStrategy

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.

Class Summary

Modifier and TypeClass and Description
public class
HttpClientContext

Adaptor class that provides convenience type safe setters and getters for common HttpContext attributes used in the course of HTTP request execution.

public class
RedirectLocations

This class represents a collection of java.net.URIs used as redirect locations.

public class
RequestAddCookies

Request interceptor that matches cookies available in the current CookieStore to the request being executed and generates corresponding Cookie request headers.

public class
RequestAuthCache

Deprecated Do not use.
Request interceptor that can preemptively authenticate against known hosts, if there is a cached AuthScheme instance in the local AuthCache associated with the given target or proxy host.
public class
RequestClientConnControl

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.

public class
RequestDefaultHeaders

Request interceptor that adds default request headers.

public class
RequestExpectContinue

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

public class
ResponseProcessCookies

Response interceptor that populates the current CookieStore with data contained in response cookies received in the given the HTTP response.