Package sk.iway.iwcm.system.proxy
Class WebJETProxySelector
java.lang.Object
java.net.ProxySelector
sk.iway.iwcm.system.proxy.WebJETProxySelector
ProxySelector.java
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectFailed
(URI uri, SocketAddress sa, IOException ioe) static void
initProxy
(String host, int port, String username, String password, String hostsException, String httpsHost, int httpsPort) Inicializacia spojenia cez proxystatic void
Toto je zvlastne, kvoli TB sme to museli presunut do samostatnej metody a inicializovat az na konci InitServletu, pretoze inak sa httpS proxy neautentifikovalaMethods inherited from class java.net.ProxySelector
getDefault, of, setDefault
-
Method Details
-
initProxy
public static void initProxy(String host, int port, String username, String password, String hostsException, String httpsHost, int httpsPort) Inicializacia spojenia cez proxy- Parameters:
host
-port
-username
-password
-
-
setAuthenticator
public static void setAuthenticator()Toto je zvlastne, kvoli TB sme to museli presunut do samostatnej metody a inicializovat az na konci InitServletu, pretoze inak sa httpS proxy neautentifikovala -
select
- Specified by:
select
in classProxySelector
-
connectFailed
- Specified by:
connectFailed
in classProxySelector
-