org.netbeans.core/2 3.32

org.netbeans.core
Class ProxySettings

java.lang.Object
  extended by org.netbeans.core.ProxySettings

public class ProxySettings
extends Object


Nested Class Summary
static class ProxySettings.NbProxyCredentialsProvider
           
 
Field Summary
static int AUTO_DETECT_PAC
          Proxy PAC file automatically detect in OS.
static int AUTO_DETECT_PROXY
          Proxy setting is automatically detect in OS.
static String DIRECT
           
static int DIRECT_CONNECTION
          No proxy is used to connect.
static int MANUAL_SET_PAC
          Proxy PAC file manually set.
static int MANUAL_SET_PROXY
          Manually set proxy host and port.
static String NOT_PROXY_HOSTS
           
static String PAC
           
static String PROXY_AUTHENTICATION_PASSWORD
           
static String PROXY_AUTHENTICATION_USERNAME
           
static String PROXY_HTTP_HOST
           
static String PROXY_HTTP_PORT
           
static String PROXY_HTTPS_HOST
           
static String PROXY_HTTPS_PORT
           
static String PROXY_SOCKS_HOST
           
static String PROXY_SOCKS_PORT
           
static String PROXY_TYPE
           
static String USE_PROXY_ALL_PROTOCOLS
           
static String USE_PROXY_AUTHENTICATION
           
 
Constructor Summary
ProxySettings()
           
 
Method Summary
static char[] getAuthenticationPassword()
           
static String getAuthenticationUsername()
           
static String getHttpHost()
           
static String getHttpPort()
           
static String getHttpsHost()
           
static String getHttpsPort()
           
static String getNonProxyHosts()
           
static int getProxyType()
           
static String getSocksHost()
           
static String getSocksPort()
           
static String normalizeProxyHost(String proxyHost)
           
static void setAuthenticationPassword(char[] password)
           
static boolean useAuthentication()
           
static boolean useProxyAllProtocols()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_HTTP_HOST

public static final String PROXY_HTTP_HOST
See Also:
Constant Field Values

PROXY_HTTP_PORT

public static final String PROXY_HTTP_PORT
See Also:
Constant Field Values

PROXY_HTTPS_HOST

public static final String PROXY_HTTPS_HOST
See Also:
Constant Field Values

PROXY_HTTPS_PORT

public static final String PROXY_HTTPS_PORT
See Also:
Constant Field Values

PROXY_SOCKS_HOST

public static final String PROXY_SOCKS_HOST
See Also:
Constant Field Values

PROXY_SOCKS_PORT

public static final String PROXY_SOCKS_PORT
See Also:
Constant Field Values

NOT_PROXY_HOSTS

public static final String NOT_PROXY_HOSTS
See Also:
Constant Field Values

PROXY_TYPE

public static final String PROXY_TYPE
See Also:
Constant Field Values

USE_PROXY_AUTHENTICATION

public static final String USE_PROXY_AUTHENTICATION
See Also:
Constant Field Values

PROXY_AUTHENTICATION_USERNAME

public static final String PROXY_AUTHENTICATION_USERNAME
See Also:
Constant Field Values

PROXY_AUTHENTICATION_PASSWORD

public static final String PROXY_AUTHENTICATION_PASSWORD
See Also:
Constant Field Values

USE_PROXY_ALL_PROTOCOLS

public static final String USE_PROXY_ALL_PROTOCOLS
See Also:
Constant Field Values

DIRECT

public static final String DIRECT
See Also:
Constant Field Values

PAC

public static final String PAC
See Also:
Constant Field Values

DIRECT_CONNECTION

public static final int DIRECT_CONNECTION
No proxy is used to connect.

See Also:
Constant Field Values

AUTO_DETECT_PROXY

public static final int AUTO_DETECT_PROXY
Proxy setting is automatically detect in OS.

See Also:
Constant Field Values

MANUAL_SET_PROXY

public static final int MANUAL_SET_PROXY
Manually set proxy host and port.

See Also:
Constant Field Values

AUTO_DETECT_PAC

public static final int AUTO_DETECT_PAC
Proxy PAC file automatically detect in OS.

See Also:
Constant Field Values

MANUAL_SET_PAC

public static final int MANUAL_SET_PAC
Proxy PAC file manually set.

See Also:
Constant Field Values
Constructor Detail

ProxySettings

public ProxySettings()
Method Detail

getHttpHost

public static String getHttpHost()

getHttpPort

public static String getHttpPort()

getHttpsHost

public static String getHttpsHost()

getHttpsPort

public static String getHttpsPort()

getSocksHost

public static String getSocksHost()

getSocksPort

public static String getSocksPort()

getNonProxyHosts

public static String getNonProxyHosts()

getProxyType

public static int getProxyType()

useAuthentication

public static boolean useAuthentication()

useProxyAllProtocols

public static boolean useProxyAllProtocols()

getAuthenticationUsername

public static String getAuthenticationUsername()

getAuthenticationPassword

public static char[] getAuthenticationPassword()

setAuthenticationPassword

public static void setAuthenticationPassword(char[] password)

normalizeProxyHost

public static String normalizeProxyHost(String proxyHost)

org.netbeans.core/2 3.32

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.