com.atlassian.sal.core.net
Class HttpClientProxyConfig

java.lang.Object
  extended by com.atlassian.sal.core.net.HttpClientProxyConfig

public class HttpClientProxyConfig
extends Object

Configures the proxy on the HttpClient instance, reads the proxy configuration from the following system properties:

A list of excluded hosts can be provided to bypass the proxy: If the proxy needs authentication, the credentials must be provided using:


Constructor Summary
HttpClientProxyConfig()
           
 
Method Summary
protected  void configureProxy(org.apache.commons.httpclient.HttpClient client, String remoteUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpClientProxyConfig

public HttpClientProxyConfig()
Method Detail

configureProxy

protected void configureProxy(org.apache.commons.httpclient.HttpClient client,
                              String remoteUrl)
Parameters:
client - The client to configure the proxy of
remoteUrl - The remote URL


Copyright © 2011 Atlassian. All Rights Reserved.