org.apache.http.client.protocol
Class RequestProxyAuthentication

java.lang.Object
  extended by org.apache.http.client.protocol.RequestProxyAuthentication
All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor

@Immutable
public class RequestProxyAuthentication
extends java.lang.Object
implements org.apache.http.HttpRequestInterceptor

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

Since:
4.0

Constructor Summary
RequestProxyAuthentication()
           
 
Method Summary
 void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestProxyAuthentication

public RequestProxyAuthentication()
Method Detail

process

public void process(org.apache.http.HttpRequest request,
                    org.apache.http.protocol.HttpContext context)
             throws org.apache.http.HttpException,
                    java.io.IOException
Specified by:
process in interface org.apache.http.HttpRequestInterceptor
Throws:
org.apache.http.HttpException
java.io.IOException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.