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.withConnectTimeout(int connectTimeout)
Specify the timeout for connecting to the upstream server on a new
connection, in milliseconds.
|
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)
Deprecated.
use
withNetworkInterface(InetSocketAddress) to avoid listening on all local addresses |
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.withNetworkInterface(InetSocketAddress inetSocketAddress)
All outgoing-communication of the proxy-instance is goin' to be routed via the given network-interface
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withPort(int port)
Listen for incoming connections on the given port.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withProxyAlias(String alias)
Sets the alias to use when adding Via headers to incoming and outgoing HTTP messages.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withProxyAuthenticator(ProxyAuthenticator proxyAuthenticator)
Specify a
ProxyAuthenticator to use for doing basic HTTP
authentication of clients. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withServerResolver(HostResolver serverResolver)
Specify a custom
HostResolver for resolving server addresses. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withSslEngineSource(SslEngineSource sslEngineSource)
Specify an
SslEngineSource to use for encrypting inbound
connections. |
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withThreadPoolConfiguration(ThreadPoolConfiguration configuration)
Set the configuration parameters for the proxy's thread pools.
|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withThrottling(long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond)
Specify the read and/or write bandwidth throttles for this proxy server.
|
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 | Class and Description |
---|---|
private static class |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap |
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() |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.plusActivityTracker(ActivityTracker activityTracker) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withAddress(InetSocketAddress address) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withAllowLocalOnly(boolean allowLocalOnly) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withAuthenticateSslClients(boolean authenticateSslClients) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withChainProxyManager(ChainedProxyManager chainProxyManager) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withConnectTimeout(int connectTimeout) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withFiltersSource(HttpFiltersSource filtersSource) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withIdleConnectionTimeout(int idleConnectionTimeout) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withListenOnAllAddresses(boolean listenOnAllAddresses)
Deprecated.
|
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withManInTheMiddle(MitmManager mitmManager) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withName(String name) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withNetworkInterface(InetSocketAddress inetSocketAddress) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withPort(int port) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withProxyAlias(String alias) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withProxyAuthenticator(ProxyAuthenticator proxyAuthenticator) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withServerResolver(HostResolver serverResolver) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withSslEngineSource(SslEngineSource sslEngineSource) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withThreadPoolConfiguration(ThreadPoolConfiguration configuration) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withThrottling(long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withTransparent(boolean transparent) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withTransportProtocol(TransportProtocol transportProtocol) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withUseDnsSec(boolean useDnsSec) |
Copyright © 2009–2017 LittleShoot. All rights reserved.