Package org.apache.hc.client5.http
package org.apache.hc.client5.http
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
-
ClassDescriptionStrategy to select auth schemes in order of preference based on auth challenges presented by the opposite endpoint (target server or a proxy).Signals a circular redirectSignals an error in the HTTP protocol.Connect exception support methods.Interface for deciding how long a connection can remain idle before being reused.A timeout while connecting to an HTTP server or waiting for an available connection from a connection manager.
HttpClientContext
builder.Users may implement this interface to override the normal DNS lookup offered by the OS.AConnectException
that specifies theNamedEndpoint
that was being connected to.Strategy interface that allows API users to plug in their own logic to control whether or not a retry should automatically be done, how many times it should be done and so on.Signals a non 2xx HTTP response.Connection route definition for HTTP requests.Signals violation of HTTP specification caused by an invalid redirectConnection route information.The layering type of a route.The tunnelling type of a route.Helps tracking the steps in establishing a route.Strategy for default port resolution for protocol schemes.DNS resolver that uses the default OS implementation for resolving host names.Signals failure to establish connection using an unknown protocol scheme.A handler for determining if the given execution context is user specific or not.