public interface ProxyConfig
Proxy
. Check presence of
#getProxyHost()
to decide if proxy support should even be attempted.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() |
boolean |
useSystem()
Deprecated.
|
@Deprecated boolean useSystem()
Constants.PROPERTY_PROXY_SYSTEM
boolean isJvmProxyEnabled()
org.jclouds.Constants#PROPERTY_PROXY_FROM_JVM
Proxy.Type getType()
Constants.PROPERTY_PROXY_TYPE
com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
com.google.common.base.Optional<Credentials> getCredentials()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.