com.atlassian.httpclient.apache.httpcomponents.proxy
Class ProxyCredentialsProvider

java.lang.Object
  extended by com.atlassian.httpclient.apache.httpcomponents.proxy.ProxyCredentialsProvider
All Implemented Interfaces:
org.apache.http.client.CredentialsProvider

public class ProxyCredentialsProvider
extends Object
implements org.apache.http.client.CredentialsProvider

Configuration of credentials for proxy.


Method Summary
static com.atlassian.fugue.Option<ProxyCredentialsProvider> build(HttpClientOptions options)
           
 void clear()
           
 org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
           
 void setCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public static com.atlassian.fugue.Option<ProxyCredentialsProvider> build(HttpClientOptions options)

setCredentials

public void setCredentials(org.apache.http.auth.AuthScope authscope,
                           org.apache.http.auth.Credentials credentials)
Specified by:
setCredentials in interface org.apache.http.client.CredentialsProvider

getCredentials

public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authscope)
Specified by:
getCredentials in interface org.apache.http.client.CredentialsProvider

clear

public void clear()
Specified by:
clear in interface org.apache.http.client.CredentialsProvider


Copyright © 2012–2015 Atlassian. All rights reserved.