@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 ProxyConfigConstants.PROPERTY_PROXY_HOST,
Constants.PROPERTY_PROXY_PORTpublic com.google.common.base.Optional<Credentials> getCredentials()
getCredentials in interface ProxyConfigConstants.PROPERTY_PROXY_USER,
Constants.PROPERTY_PROXY_PASSWORDpublic Proxy.Type getType()
getType in interface ProxyConfigConstants.PROPERTY_PROXY_TYPEpublic boolean useSystem()
useSystem in interface ProxyConfigConstants.PROPERTY_PROXY_SYSTEMCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.