org.jclouds.proxy
Interface ProxyConfig

All Known Implementing Classes:
GuiceProxyConfig

public interface ProxyConfig

parameters needed to configure Proxy. Check presence of #getProxyHost() to decide if proxy support should even be attempted.

Author:
Adrian Cole

Method Summary
 com.google.common.base.Optional<Credentials> getCredentials()
           
 com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
           
 Proxy.Type getType()
           
 boolean useSystem()
           
 

Method Detail

useSystem

boolean useSystem()
See Also:
Constants.PROPERTY_PROXY_SYSTEM

getType

Proxy.Type getType()
See Also:
Constants.PROPERTY_PROXY_TYPE

getProxy

com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
See Also:
Constants.PROPERTY_PROXY_HOST, Constants.PROPERTY_PROXY_PORT

getCredentials

com.google.common.base.Optional<Credentials> getCredentials()
See Also:
Constants.PROPERTY_PROXY_USER, Constants.PROPERTY_PROXY_PASSWORD


Copyright © 2009-2013 jclouds. All Rights Reserved.