@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()
Returns the host and port of the proxy configured here, if there is one
|
Proxy.Type |
getType() |
boolean |
isJvmProxyEnabled() |
String |
toString() |
boolean |
useSystem() |
public com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
ProxyConfiggetProxy 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_SYSTEMpublic boolean isJvmProxyEnabled()
isJvmProxyEnabled in interface ProxyConfigorg.jclouds.Constants#PROPERTY_PROXY_FROM_JVMCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.