public class BrowserMobProxyHandler extends SeleniumProxyHandler
SeleniumProxyHandler.SslRelay| Modifier and Type | Field and Description |
|---|---|
protected Set<SeleniumProxyHandler.SslRelay> |
sslRelays |
_allowedConnectPorts, _DontProxyHeaders, _ProxyAuthHeaders, _proxyHostsBlackList, _proxyHostsWhiteList, _ProxySchemes, _tunnelTimeoutMs| Constructor and Description |
|---|
BrowserMobProxyHandler() |
cleanSslWithCyberVilliansCA, customizeConnection, customizeConnection, getTunnelTimeoutMs, handle, isAnonymous, isForbidden, isForbidden, isProxied, sendForbid, sendNotFound, setAnonymous, setShutdownLock, setSslKeystorePath, setTunnelTimeoutMs, start, wireUpSslWithRemoteServicegetHttpContext, getName, handleTrace, initialize, isStarted, setName, stop, toStringprotected final Set<SeleniumProxyHandler.SslRelay> sslRelays
public void handleConnect(String pathInContext, String pathParams, HttpRequest request, HttpResponse response) throws HttpException, IOException
handleConnect in class SeleniumProxyHandlerHttpExceptionIOExceptionprotected void wireUpSslWithImpersonationCA(String host, SeleniumProxyHandler.SslRelay listener)
wireUpSslWithImpersonationCA in class SeleniumProxyHandlerprotected SeleniumProxyHandler.SslRelay getSslRelayOrCreateNew(URI uri, InetAddrPort addrPort, HttpServer server) throws Exception
getSslRelayOrCreateNew in class SeleniumProxyHandlerExceptionprotected HttpTunnel newHttpTunnel(HttpRequest httpRequest, HttpResponse httpResponse, InetAddress inetAddress, int i, int i1) throws IOException
newHttpTunnel in class SeleniumProxyHandlerIOExceptionprotected long proxyPlainTextRequest(URL url, String pathInContext, String pathParams, HttpRequest request, HttpResponse response) throws IOException
proxyPlainTextRequest in class SeleniumProxyHandlerIOExceptionpublic void autoBasicAuthorization(String domain, String username, String password)
public void setJettyServer(Server jettyServer)
public void adjustListenerBuffers(int headerBufferMultiplier)
public void resetListenerBuffers()
public void adjustListenerBuffers()
public void setHttpClient(BrowserMobHttpClient httpClient)
public void cleanup()
Copyright © 2015. All Rights Reserved.