org.ektorp.http
Class PreemptiveAuthRequestInterceptor

java.lang.Object
  extended by org.ektorp.http.PreemptiveAuthRequestInterceptor
All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor

public class PreemptiveAuthRequestInterceptor
extends Object
implements org.apache.http.HttpRequestInterceptor

Interceptor that preemptively introduces an instance of BasicScheme to the execution context, if no authentication has been attempted yet.


Constructor Summary
PreemptiveAuthRequestInterceptor()
           
 
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

PreemptiveAuthRequestInterceptor

public PreemptiveAuthRequestInterceptor()
Method Detail

process

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


Copyright © 2011. All Rights Reserved.