| Package | Description |
|---|---|
| org.littleshoot.proxy | |
| org.littleshoot.proxy.impl |
| Modifier and Type | Method and Description |
|---|---|
TransportProtocol |
ChainedProxy.getTransportProtocol()
Tell LittleProxy what kind of TransportProtocol to use to communicate
with the chained proxy.
|
TransportProtocol |
ChainedProxyAdapter.getTransportProtocol() |
static TransportProtocol |
TransportProtocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportProtocol[] |
TransportProtocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
HttpProxyServerBootstrap |
HttpProxyServerBootstrap.withTransportProtocol(TransportProtocol transportProtocol)
Specify the
TransportProtocol to use for incoming connections. |
| Constructor and Description |
|---|
UnknownTransportProtocolError(TransportProtocol transportProtocol) |
| Modifier and Type | Field and Description |
|---|---|
private TransportProtocol |
DefaultHttpProxyServer.transportProtocol |
private TransportProtocol |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.transportProtocol |
private TransportProtocol |
ProxyToServerConnection.transportProtocol |
| Modifier and Type | Field and Description |
|---|---|
private Map<TransportProtocol,EventLoopGroup> |
DefaultHttpProxyServer.ServerGroup.clientToProxyBossPools
These
EventLoopGroups accept incoming connections to the
proxies. |
private Map<TransportProtocol,EventLoopGroup> |
DefaultHttpProxyServer.ServerGroup.clientToProxyWorkerPools
These
EventLoopGroups process incoming requests to the
proxies. |
private Map<TransportProtocol,EventLoopGroup> |
DefaultHttpProxyServer.ServerGroup.proxyToServerWorkerPools
These
EventLoopGroups are used for making outgoing
connections to servers. |
| Modifier and Type | Method and Description |
|---|---|
TransportProtocol |
ProxyToServerConnection.getTransportProtocol()
State Management
|
| Modifier and Type | Method and Description |
|---|---|
private GlobalTrafficShapingHandler |
DefaultHttpProxyServer.createGlobalTrafficShapingHandler(TransportProtocol transportProtocol,
long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond)
Creates a new GlobalTrafficShapingHandler for this HttpProxyServer, using this proxy's proxyToServerEventLoop.
|
void |
DefaultHttpProxyServer.ServerGroup.ensureProtocol(TransportProtocol transportProtocol) |
protected EventLoopGroup |
DefaultHttpProxyServer.getProxyToServerWorkerFor(TransportProtocol transportProtocol) |
private void |
DefaultHttpProxyServer.ServerGroup.initializeTransport(TransportProtocol transportProtocol) |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withTransportProtocol(TransportProtocol transportProtocol) |
| Constructor and Description |
|---|
DefaultHttpProxyServer(DefaultHttpProxyServer.ServerGroup serverGroup,
TransportProtocol transportProtocol,
InetSocketAddress requestedAddress,
SslEngineSource sslEngineSource,
boolean authenticateSslClients,
ProxyAuthenticator proxyAuthenticator,
ChainedProxyManager chainProxyManager,
MitmManager mitmManager,
HttpFiltersSource filtersSource,
boolean transparent,
int idleConnectionTimeout,
Collection<ActivityTracker> activityTrackers,
int connectTimeout,
HostResolver serverResolver,
long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond,
InetSocketAddress localAddress)
Creates a new proxy server.
|
DefaultHttpProxyServerBootstrap(DefaultHttpProxyServer original,
TransportProtocol transportProtocol,
InetSocketAddress requestedAddress,
SslEngineSource sslEngineSource,
boolean authenticateSslClients,
ProxyAuthenticator proxyAuthenticator,
ChainedProxyManager chainProxyManager,
MitmManager mitmManager,
HttpFiltersSource filtersSource,
boolean transparent,
int idleConnectionTimeout,
Collection<ActivityTracker> activityTrackers,
int connectTimeout,
HostResolver serverResolver,
long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond,
InetSocketAddress localAddress) |
Copyright © 2009–2015 LittleShoot. All rights reserved.