Package org.jclouds.proxy.internal
Class GuiceProxyConfig
java.lang.Object
org.jclouds.proxy.internal.GuiceProxyConfig
- All Implemented Interfaces:
ProxyConfig
Configuration derived from Guice properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.base.Optional
<Credentials> com.google.common.base.Optional
<com.google.common.net.HostAndPort> getProxy()
Returns the host and port of the proxy configured here, if there is onegetType()
boolean
boolean
toString()
boolean
-
Constructor Details
-
GuiceProxyConfig
public GuiceProxyConfig()
-
-
Method Details
-
getProxy
public com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()Description copied from interface:ProxyConfig
Returns the host and port of the proxy configured here, if there is one- Specified by:
getProxy
in interfaceProxyConfig
- See Also:
-
getCredentials
- Specified by:
getCredentials
in interfaceProxyConfig
- See Also:
-
getType
- Specified by:
getType
in interfaceProxyConfig
- See Also:
-
useSystem
public boolean useSystem()- Specified by:
useSystem
in interfaceProxyConfig
- See Also:
-
isJvmProxyEnabled
public boolean isJvmProxyEnabled()- Specified by:
isJvmProxyEnabled
in interfaceProxyConfig
- See Also:
-
isSslProxyEnabled
public boolean isSslProxyEnabled() -
toString
-