@Singleton public class GuiceProxyConfig extends Object implements ProxyConfig
Constructor and Description |
---|
GuiceProxyConfig() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<Credentials> |
getCredentials() |
com.google.common.base.Optional<com.google.common.net.HostAndPort> |
getProxy() |
Proxy.Type |
getType() |
String |
toString() |
boolean |
useSystem() |
public com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
getProxy
in interface ProxyConfig
Constants.PROPERTY_PROXY_HOST
,
Constants.PROPERTY_PROXY_PORT
public com.google.common.base.Optional<Credentials> getCredentials()
getCredentials
in interface ProxyConfig
Constants.PROPERTY_PROXY_USER
,
Constants.PROPERTY_PROXY_PASSWORD
public Proxy.Type getType()
getType
in interface ProxyConfig
Constants.PROPERTY_PROXY_TYPE
public boolean useSystem()
useSystem
in interface ProxyConfig
Constants.PROPERTY_PROXY_SYSTEM
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.