| Package | Description |
|---|---|
| org.littleshoot.proxy | |
| org.littleshoot.proxy.impl |
| Modifier and Type | Method and Description |
|---|---|
HttpProxyServerBootstrap |
HttpProxyServer.clone()
Clone the existing server, with a port 1 higher and everything else the
same.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.plusActivityTracker(ActivityTracker activityTracker)
Add an
ActivityTracker for tracking activity in this proxy. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withAddress(InetSocketAddress address)
Listen for incoming connections on the given address.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withAllowLocalOnly(boolean allowLocalOnly)
Specify whether or not to only allow local connections.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withAuthenticateSslClients(boolean authenticateSslClients)
Specify whether or not to authenticate inbound SSL clients (only applies
if
withSslEngineSource(SslEngineSource) has been set). |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withChainProxyManager(ChainedProxyManager chainProxyManager)
Specify a
ChainedProxyManager to use for chaining requests to
another proxy. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withFiltersSource(HttpFiltersSource filtersSource)
Specify a
HttpFiltersSource to use for filtering requests and/or
responses through this proxy. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withIdleConnectionTimeout(int idleConnectionTimeout)
Specify the timeout after which to disconnect idle connections, in
seconds.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withListenOnAllAddresses(boolean listenOnAllAddresses)
Specify whether or not to listen on all interfaces.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withManInTheMiddle(MitmManager mitmManager)
Specify an
MitmManager to use for making this proxy act as an SSL
man in the middle |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withName(String name)
Give the server a name (used for naming threads, useful for logging).
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withPort(int port)
Listen for incoming connections on the given port.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withProxyAuthenticator(ProxyAuthenticator proxyAuthenticator)
Specify a
ProxyAuthenticator to use for doing basic HTTP
authentication of clients. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withSslEngineSource(SslEngineSource sslEngineSource)
Specify an
SslEngineSource to use for encrypting inbound
connections. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withTransparent(boolean transparent)
Specify whether or not to run this proxy as a transparent proxy.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withTransportProtocol(TransportProtocol transportProtocol)
Specify the
TransportProtocol to use for incoming connections. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withUseDnsSec(boolean useDnsSec)
Specify whether or not to use secure DNS lookups for outbound
connections.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpProxyServerBootstrap |
DefaultHttpProxyServer.bootstrap()
Bootstrap a new
DefaultHttpProxyServer starting from scratch. |
static HttpProxyServerBootstrap |
DefaultHttpProxyServer.bootstrapFromFile(String path)
Bootstrap a new
DefaultHttpProxyServer using defaults from the
given file. |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.clone() |
Copyright © 2009-2013 LittleShoot. All Rights Reserved.