org.n52.oxf.util.web
Class BasicAuthenticationHttpClient

java.lang.Object
  extended by org.n52.oxf.util.web.HttpClientDecorator
      extended by org.n52.oxf.util.web.BasicAuthenticationHttpClient
All Implemented Interfaces:
HttpClient
Direct Known Subclasses:
PreemptiveBasicAuthenticationHttpClient

public class BasicAuthenticationHttpClient
extends HttpClientDecorator


Field Summary
protected  Map<org.apache.http.HttpHost,UserPasswordAuthentication> credentials
           
 
Constructor Summary
BasicAuthenticationHttpClient(HttpClient toDecorate)
           
 
Method Summary
protected  org.apache.http.HttpRequestInterceptor getAuthenticationIntercepter()
           
 void provideAuthentication(org.apache.http.HttpHost host, String user, String pw)
           
 
Methods inherited from class org.n52.oxf.util.web.HttpClientDecorator
executeGet, executeGet, executeMethod, executePost, executePost, executePost, getConnectionManager, getHttpClientToDecorate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

credentials

protected Map<org.apache.http.HttpHost,UserPasswordAuthentication> credentials
Constructor Detail

BasicAuthenticationHttpClient

public BasicAuthenticationHttpClient(HttpClient toDecorate)
Method Detail

getAuthenticationIntercepter

protected org.apache.http.HttpRequestInterceptor getAuthenticationIntercepter()

provideAuthentication

public void provideAuthentication(org.apache.http.HttpHost host,
                                  String user,
                                  String pw)


Copyright © 2012-2013 52north.org. All Rights Reserved.