|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.util.ProxyUtil
public final class ProxyUtil
The ProxyUtil detects a system proxy.
| Method Summary | |
|---|---|
static java.net.Proxy |
getSystemProxy(java.lang.String pURL)
Gets the system proxy for the given URL. |
static void |
main(java.lang.String[] pArgs)
Starts system proxy detection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(java.lang.String[] pArgs)
throws java.lang.Exception
pArgs - the first parameter should contain the http(s) URL
java.lang.Exception - if detection fails
public static java.net.Proxy getSystemProxy(java.lang.String pURL)
throws java.lang.Exception
pURL - the URL
null if no proxy is detected or used
java.lang.Exception - if detection fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||