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 |
---|
UnknownTransportProtocolException(TransportProtocol transportProtocol) |
Modifier and Type | Field and Description |
---|---|
private TransportProtocol |
ProxyToServerConnection.transportProtocol |
private TransportProtocol |
DefaultHttpProxyServer.transportProtocol |
private TransportProtocol |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.transportProtocol |
Modifier and Type | Field and Description |
---|---|
private EnumMap<TransportProtocol,ProxyThreadPools> |
ServerGroup.protocolThreadPools
A mapping of
TransportProtocol s to their initialized ProxyThreadPools . |
private static EnumMap<TransportProtocol,SelectorProvider> |
ServerGroup.TRANSPORT_PROTOCOL_SELECTOR_PROVIDERS
A mapping of selector providers to transport protocols.
|
Modifier and Type | Method and Description |
---|---|
TransportProtocol |
ProxyToServerConnection.getTransportProtocol()
State Management
|
Modifier and Type | Method and Description |
---|---|
private io.netty.handler.traffic.GlobalTrafficShapingHandler |
DefaultHttpProxyServer.createGlobalTrafficShapingHandler(TransportProtocol transportProtocol,
long readThrottleBytesPerSecond,
long writeThrottleBytesPerSecond)
Creates a new GlobalTrafficShapingHandler for this HttpProxyServer, using this proxy's proxyToServerEventLoop.
|
io.netty.channel.EventLoopGroup |
ServerGroup.getClientToProxyAcceptorPoolForTransport(TransportProtocol protocol)
Retrieves the client-to-proxy acceptor thread pool for the specified protocol.
|
io.netty.channel.EventLoopGroup |
ServerGroup.getClientToProxyWorkerPoolForTransport(TransportProtocol protocol)
Retrieves the client-to-proxy acceptor worker pool for the specified protocol.
|
protected io.netty.channel.EventLoopGroup |
DefaultHttpProxyServer.getProxyToServerWorkerFor(TransportProtocol transportProtocol) |
io.netty.channel.EventLoopGroup |
ServerGroup.getProxyToServerWorkerPoolForTransport(TransportProtocol protocol)
Retrieves the proxy-to-server worker thread pool for the specified protocol.
|
private ProxyThreadPools |
ServerGroup.getThreadPoolsForProtocol(TransportProtocol protocol)
Retrieves the
ProxyThreadPools for the specified transport protocol. |
HttpProxyServerBootstrap |
DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap.withTransportProtocol(TransportProtocol transportProtocol) |
Constructor and Description |
---|
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,
String proxyAlias)
Creates a new proxy server.
|
DefaultHttpProxyServerBootstrap(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,
String proxyAlias) |
Copyright © 2009–2017 LittleShoot. All rights reserved.