org.jclouds.proxy.internal
Class GuiceProxyConfig

java.lang.Object
  extended by org.jclouds.proxy.internal.GuiceProxyConfig
All Implemented Interfaces:
ProxyConfig

@Singleton
public class GuiceProxyConfig
extends Object
implements ProxyConfig

Configuration derived from Guice properties.

Author:
Adrian Cole

Constructor Summary
GuiceProxyConfig()
           
 
Method Summary
 com.google.common.base.Optional<Credentials> getCredentials()
           
 com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
           
 Proxy.Type getType()
           
 String toString()
          
 boolean useSystem()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GuiceProxyConfig

public GuiceProxyConfig()
Method Detail

getProxy

public com.google.common.base.Optional<com.google.common.net.HostAndPort> getProxy()
Specified by:
getProxy in interface ProxyConfig
See Also:
Constants.PROPERTY_PROXY_HOST, Constants.PROPERTY_PROXY_PORT

getCredentials

public com.google.common.base.Optional<Credentials> getCredentials()
Specified by:
getCredentials in interface ProxyConfig
See Also:
Constants.PROPERTY_PROXY_USER, Constants.PROPERTY_PROXY_PASSWORD

getType

public Proxy.Type getType()
Specified by:
getType in interface ProxyConfig
See Also:
Constants.PROPERTY_PROXY_TYPE

useSystem

public boolean useSystem()
Specified by:
useSystem in interface ProxyConfig
See Also:
Constants.PROPERTY_PROXY_SYSTEM

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.