public class ProxyUtil extends Object
| Constructor and Description |
|---|
ProxyUtil() |
public static URI getHostURI(URL url)
url - public static void setProxy(String proxy, int port, String user, String pw)
proxy - the proxy url - NO PORT!port - the proxy portuser - the user for authentication, if null no authentication is attemptedpw - the pass word for authenticationpublic static void setProxy(String proxy)
proxy - Copyright © 2013. All Rights Reserved.