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()booleantoString()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:ProxyConfigReturns the host and port of the proxy configured here, if there is one- Specified by:
getProxyin interfaceProxyConfig- See Also:
-
getCredentials
- Specified by:
getCredentialsin interfaceProxyConfig- See Also:
-
getType
- Specified by:
getTypein interfaceProxyConfig- See Also:
-
useSystem
public boolean useSystem()- Specified by:
useSystemin interfaceProxyConfig- See Also:
-
isJvmProxyEnabled
public boolean isJvmProxyEnabled()- Specified by:
isJvmProxyEnabledin interfaceProxyConfig- See Also:
-
toString
-