org.apache.http.client.protocol
Class RequestTargetAuthentication

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

@Immutable
public class RequestTargetAuthentication
extends Object
implements HttpRequestInterceptor

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

Since:
4.0

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

Constructor Detail

RequestTargetAuthentication

public RequestTargetAuthentication()
Method Detail

process

public void process(HttpRequest request,
                    HttpContext context)
             throws HttpException,
                    IOException
Specified by:
process in interface HttpRequestInterceptor
Throws:
HttpException
IOException


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.