public class ProxyInfoProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
enableProxy |
static java.lang.String |
httpProxyHost |
static short |
httpProxyPort |
static java.lang.String |
username |
Modifier and Type | Method and Description |
---|---|
static void |
authenticateConnectionIfNeeded(org.apache.http.HttpResponse resp,
org.apache.http.client.protocol.HttpClientContext localContext,
org.apache.http.client.HttpClient client) |
static java.lang.String[] |
getConfiguratons() |
static java.lang.String[] |
getConfiguratons(java.awt.Window parentWindow) |
static org.apache.http.auth.Credentials |
getProxyCredentials() |
static boolean |
isEnableProxy() |
static void |
main(java.lang.String[] args) |
static void |
setEnableProxy(boolean enableProxy) |
static void |
setRoutePlanner(org.apache.http.impl.client.HttpClientBuilder client) |
static java.lang.String[] |
showConfigurations() |
static java.lang.String[] |
showConfigurations(java.awt.Window parentWindow) |
public static boolean enableProxy
public static java.lang.String httpProxyHost
public static short httpProxyPort
public static java.lang.String username
public static boolean isEnableProxy()
public static void setEnableProxy(boolean enableProxy)
enableProxy
- the enableProxy to setpublic static java.lang.String[] showConfigurations()
public static java.lang.String[] showConfigurations(java.awt.Window parentWindow)
parentWindow
- public static java.lang.String[] getConfiguratons()
public static java.lang.String[] getConfiguratons(java.awt.Window parentWindow)
parentWindow
- public static void setRoutePlanner(org.apache.http.impl.client.HttpClientBuilder client)
client
- to add a route plannerpublic static org.apache.http.auth.Credentials getProxyCredentials()
public static void authenticateConnectionIfNeeded(org.apache.http.HttpResponse resp, org.apache.http.client.protocol.HttpClientContext localContext, org.apache.http.client.HttpClient client)
resp
- localContext
- public static void main(java.lang.String[] args)
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.