Package org.jclouds.proxy
Interface ProxyConfig
-
- All Known Implementing Classes:
GuiceProxyConfig
public interface ProxyConfig
parameters needed to configureProxy
. Check presence of#getProxyHost()
to decide if proxy support should even be attempted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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 oneProxy.Type
getType()
boolean
isJvmProxyEnabled()
boolean
useSystem()
Deprecated.
-
-
-
Method Detail
-
useSystem
@Deprecated boolean useSystem()
Deprecated.- See Also:
Constants.PROPERTY_PROXY_SYSTEM
-
isJvmProxyEnabled
boolean isJvmProxyEnabled()
- See Also:
org.jclouds.Constants#PROPERTY_PROXY_FROM_JVM
-
getType
Proxy.Type getType()
- See Also:
Constants.PROPERTY_PROXY_TYPE
-
getProxy
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
-
getCredentials
com.google.common.base.Optional<Credentials> getCredentials()
-
-