com.zeroturnaround.liverebel.api.impl
Class Authenticator

java.lang.Object
  extended by com.zeroturnaround.liverebel.api.impl.Authenticator
All Implemented Interfaces:
org.apache.http.HttpRequestInterceptor

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


Constructor Summary
Authenticator(String username, String password)
           
 
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

Authenticator

public Authenticator(String username,
                     String password)
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 © 2012. All Rights Reserved.