fr.cnes.sitools.proxy
Class ProxySettings

java.lang.Object
  extended by fr.cnes.sitools.proxy.ProxySettings

public final class ProxySettings
extends java.lang.Object

Proxy settings

Author:
AKKA Technologies

Method Summary
static java.lang.String getNonProxyHosts()
          Gets the nonproxyHosts value
static org.restlet.data.ChallengeResponse getProxyAuthentication()
          Gets the proxyAuthentication value
static java.lang.String getProxyHost()
          Gets the proxyHost value
static java.lang.String getProxyPassword()
          Gets the proxyPassword value
static java.lang.String getProxyPort()
          Gets the proxyPort value
static java.lang.String getProxyUser()
          Gets the proxyUser value
static void init(java.util.Map<java.lang.String,java.lang.Object> context)
          Init the proxy setting
static void init(java.lang.String[] args, SitoolsSettings settings)
          Init the proxy setting
static boolean isWithProxy()
          Gets the withProxy value
static void reset()
          Init the proxy setting
static void setWithProxy(boolean withProxy)
          Sets the value of withProxy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init(java.util.Map<java.lang.String,java.lang.Object> context)
Init the proxy setting

Parameters:
context - Map proxy attributes

init

public static void init(java.lang.String[] args,
                        SitoolsSettings settings)
Init the proxy setting

Parameters:
args - command line arguments
settings - SITools settings

reset

public static void reset()
Init the proxy setting


isWithProxy

public static boolean isWithProxy()
Gets the withProxy value

Returns:
the withProxy

setWithProxy

public static void setWithProxy(boolean withProxy)
Sets the value of withProxy

Parameters:
withProxy - the withProxy to set

getProxyHost

public static java.lang.String getProxyHost()
Gets the proxyHost value

Returns:
the proxyHost

getProxyPort

public static java.lang.String getProxyPort()
Gets the proxyPort value

Returns:
the proxyPort

getProxyUser

public static java.lang.String getProxyUser()
Gets the proxyUser value

Returns:
the proxyUser

getProxyPassword

public static java.lang.String getProxyPassword()
Gets the proxyPassword value

Returns:
the proxyPassword

getProxyAuthentication

public static org.restlet.data.ChallengeResponse getProxyAuthentication()
Gets the proxyAuthentication value

Returns:
the proxyAuthentication

getNonProxyHosts

public static java.lang.String getNonProxyHosts()
Gets the nonproxyHosts value

Returns:
the nonproxyHosts


Copyright © 2010-2013 CNES. All Rights Reserved.