|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.util.http.ProxyUtil
public class ProxyUtil
Proxy utility methods
Constructor Summary | |
---|---|
ProxyUtil()
|
Method Summary | |
---|---|
static void |
addInitializer(Runnable initializer)
Add a proxy initializer. |
static Proxy |
findProxy(URI uri)
Tries to find the system's proxy configuration for a given URI |
static void |
setupClient(org.apache.http.impl.client.DefaultHttpClient client,
Proxy proxy)
Set-up the given HTTP client to use the given proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyUtil()
Method Detail |
---|
public static Proxy findProxy(URI uri)
uri
- the URI
public static void setupClient(org.apache.http.impl.client.DefaultHttpClient client, Proxy proxy)
client
- the HTTP clientproxy
- the proxypublic static void addInitializer(Runnable initializer)
initializer
- the initializer
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |