public class CollettaProxyHandler extends ProxyHandler
_allowedConnectPorts, _DontProxyHeaders, _ProxyAuthHeaders, _proxyHostsBlackList, _proxyHostsWhiteList, _ProxySchemes, _tunnelTimeoutMs| Constructor and Description |
|---|
CollettaProxyHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isForbidden(String scheme,
String host,
int port,
boolean openNonPrivPorts)
Is scheme,host & port Forbidden.
|
protected boolean |
isForbidden(URI uri)
Is URL Forbidden.
|
protected URL |
isProxied(URI uri)
Is URL Proxied.
|
customizeConnection, customizeConnection, getProxyHostsBlackList, getProxyHostsWhiteList, getTunnelTimeoutMs, handle, handleConnect, isAnonymous, newHttpTunnel, sendForbid, setAnonymous, setProxyHostsBlackList, setProxyHostsWhiteList, setTunnelTimeoutMs, startgetHttpContext, getName, handleTrace, initialize, isStarted, setName, stop, toStringprotected URL isProxied(URI uri) throws MalformedURLException
isProxied in class ProxyHandleruri - The requested URI, which should include a scheme, host and port.MalformedURLExceptionprotected boolean isForbidden(URI uri)
isForbidden in class ProxyHandlerprotected boolean isForbidden(String scheme, String host, int port, boolean openNonPrivPorts)
isForbidden in class ProxyHandlerscheme - A scheme that mast be in the proxySchemes StringMap.host - A host that must pass the white and black listsport - A port that must in the allowedConnectPorts SetopenNonPrivPorts - If true ports greater than 1024 are allowed.Copyright © 2013. All rights reserved.