Top Description Fields Constructors Methods
org.apache.http.client.protocol

public Class RequestProxyAuthentication

extends RequestAuthenticationBase
Class Inheritance
Annotations
@Deprecated
@Contract
threading:IMMUTABLE
Imports
java.io.IOException, org.apache.http.HttpException, .HttpRequest, org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.auth.AUTH, .AuthState, org.apache.http.conn.HttpRoutedConnection, org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.ExecutionContext, .HttpContext, org.apache.http.util.Args

Deprecated

(4.3) use org.apache.http.impl.auth.HttpAuthenticator.

Generates authentication header for the proxy host, if required, based on the actual state of the HTTP authentication context.
Since
4.0

Field Summary

Inherited from org.apache.http.client.protocol.RequestAuthenticationBase:
log

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
process(final HttpRequest
the request to preprocess
request
,
final HttpContext
the context for the request
context
)

Implements org.apache.http.HttpRequestInterceptor.process.

Processes a request.
Inherited from org.apache.http.client.protocol.RequestAuthenticationBase:
process

Constructor Detail

RequestProxyAuthenticationback to summary
public RequestProxyAuthentication()

Method Detail

processback to summary
public void process(final HttpRequest request, final HttpContext context) throws HttpException, IOException

Implements org.apache.http.HttpRequestInterceptor.process.

Doc from org.apache.http.HttpRequestInterceptor.process.

Processes a request. On the client side, this step is performed before the request is sent to the server. On the server side, this step is performed on incoming messages before the message body is evaluated.

Parameters
request:HttpRequest

the request to preprocess

context:HttpContext

the context for the request

Annotations
@Override
Exceptions
HttpException:
in case of an HTTP protocol violation
IOException:
in case of an I/O error