- CategorizedThreadFactory - Class in org.littleshoot.proxy.impl
-
A ThreadFactory that adds LittleProxy-specific information to the threads' names.
- CategorizedThreadFactory(String, String, int) - Constructor for class org.littleshoot.proxy.impl.CategorizedThreadFactory
-
- category - Variable in class org.littleshoot.proxy.impl.CategorizedThreadFactory
-
- ChainedProxy - Interface in org.littleshoot.proxy
-
Encapsulates information needed to connect to a chained proxy.
- chainedProxy - Variable in class org.littleshoot.proxy.FullFlowContext
-
- chainedProxy - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- ChainedProxyAdapter - Class in org.littleshoot.proxy
-
- ChainedProxyAdapter() - Constructor for class org.littleshoot.proxy.ChainedProxyAdapter
-
- ChainedProxyManager - Interface in org.littleshoot.proxy
-
Interface for classes that manage chained proxies.
- chainProxyManager - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- chainProxyManager - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- channel - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
- channelActive(ChannelHandlerContext) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Only once the Netty Channel is active to we recognize the ProxyConnection
as connected.
- channelInactive(ChannelHandlerContext) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
As soon as the Netty Channel is inactive, we recognize the
ProxyConnection as disconnected.
- channelRead(ChannelHandlerContext, Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection.BytesReadMonitor
-
- channelRead(ChannelHandlerContext, Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection.RequestReadMonitor
-
- channelRead(ChannelHandlerContext, Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection.ResponseReadMonitor
-
- channelRead0(ChannelHandlerContext, Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Adapting the Netty API
- channelRegistered(ChannelHandlerContext) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- channelWritabilityChanged(ChannelHandlerContext) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- checkTrueOrFalse(String, String, String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
- clientAddress - Variable in class org.littleshoot.proxy.FlowContext
-
- clientConnected(InetSocketAddress) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that a client connected.
- clientConnected(InetSocketAddress) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- clientConnection - Variable in class org.littleshoot.proxy.impl.ConnectionFlow
-
- clientConnection - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- clientDisconnected(InetSocketAddress, SSLSession) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that a client disconnected.
- clientDisconnected(InetSocketAddress, SSLSession) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- clientSslEngineFor(HttpRequest, SSLSession) - Method in class org.littleshoot.proxy.extras.SelfSignedMitmManager
-
- clientSslEngineFor(HttpRequest, SSLSession) - Method in interface org.littleshoot.proxy.MitmManager
-
Creates an
SSLEngine
for encrypting the client connection based
on the given serverSslSession.
- clientSSLHandshakeSucceeded(InetSocketAddress, SSLSession) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that a client's SSL handshake completed.
- clientSSLHandshakeSucceeded(InetSocketAddress, SSLSession) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- clientSslSession - Variable in class org.littleshoot.proxy.FlowContext
-
- clientSslSession - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- clientToProxyAcceptorPool - Variable in class org.littleshoot.proxy.impl.ProxyThreadPools
-
These EventLoopGroup
s accept incoming connections to the
proxies.
- clientToProxyAcceptorThreads - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- ClientToProxyConnection - Class in org.littleshoot.proxy.impl
-
Represents a connection from a client to our proxy.
- ClientToProxyConnection(DefaultHttpProxyServer, SslEngineSource, boolean, ChannelPipeline, GlobalTrafficShapingHandler) - Constructor for class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- clientToProxyRequest(HttpObject) - Method in interface org.littleshoot.proxy.HttpFilters
-
Filters requests on their way from the client to the proxy.
- clientToProxyRequest(HttpObject) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- clientToProxyWorkerPool - Variable in class org.littleshoot.proxy.impl.ProxyThreadPools
-
These EventLoopGroup
s process incoming requests to the
proxies.
- clientToProxyWorkerThreads - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- clientToProxyWorkerThreads - Variable in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
- clone() - Method in interface org.littleshoot.proxy.HttpProxyServer
-
Clone the existing server, with a port 1 higher and everything else the
same.
- clone() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- closeAllChannels(boolean) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
Closes all channels opened by this proxy server.
- closeChannel(Promise<Void>) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- closeConnectionsAfterWriteIfNecessary(ProxyToServerConnection, HttpRequest, HttpResponse, HttpObject) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
This method takes care of closing client to proxy and/or proxy to server
connections after finishing a write.
- COMMA_SEPARATED_HEADER_VALUE_SPLITTER - Static variable in class org.littleshoot.proxy.impl.ProxyUtils
-
Splits comma-separated header values (such as Connection) into their individual tokens.
- connectAndWrite(HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Configures the connection to the upstream server and begins the
ConnectionFlow
.
- ConnectChannel - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Opens the socket connection.
- connected() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
On connect of the client, start waiting for an initial
HttpRequest
.
- connected() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
This method is called as soon as the underlying Channel
is
connected.
- connection - Variable in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
- connection - Variable in class org.littleshoot.proxy.impl.ProxyConnectionLogger
-
- CONNECTION_ESTABLISHED - Static variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- connectionFailed(Throwable) - Method in interface org.littleshoot.proxy.ChainedProxy
-
Called to let us know that connecting to this proxy failed.
- connectionFailed(Throwable) - Method in class org.littleshoot.proxy.ChainedProxyAdapter
-
- connectionFailed(Throwable) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Called when the connection to the server or upstream chained proxy fails.
- connectionFailedUnrecoverably(HttpRequest, ProxyToServerConnection) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- ConnectionFlow - Class in org.littleshoot.proxy.impl
-
Coordinates the various steps involved in establishing a connection, such as
establishing a socket connection, SSL handshaking, HTTP CONNECT request
processing, and so on.
- ConnectionFlow(ClientToProxyConnection, ProxyToServerConnection, Object) - Constructor for class org.littleshoot.proxy.impl.ConnectionFlow
-
Construct a new
ConnectionFlow
for the given client and server
connections.
- connectionFlow - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Encapsulates the flow for establishing a connection, which can vary
depending on how things are configured.
- ConnectionFlowStep - Class in org.littleshoot.proxy.impl
-
- ConnectionFlowStep(ProxyConnection, ConnectionState) - Constructor for class org.littleshoot.proxy.impl.ConnectionFlowStep
-
Construct a new step in a connection flow.
- ConnectionState - Enum in org.littleshoot.proxy.impl
-
- ConnectionState(boolean) - Constructor for enum org.littleshoot.proxy.impl.ConnectionState
-
- ConnectionState() - Constructor for enum org.littleshoot.proxy.impl.ConnectionState
-
- connectionSucceeded() - Method in interface org.littleshoot.proxy.ChainedProxy
-
Called to let us know that connecting to this proxy succeeded.
- connectionSucceeded() - Method in class org.littleshoot.proxy.ChainedProxyAdapter
-
- connectionSucceeded(boolean) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Do all the stuff that needs to be done after our
ConnectionFlow
has succeeded.
- connectLock - Variable in class org.littleshoot.proxy.impl.ConnectionFlow
-
- connectLock - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
While we're in the process of connecting, it's possible that we'll
receive a new message to write.
- connectTimeout - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- connectTimeout - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- contentWritten(HttpContent) - Method in class org.littleshoot.proxy.impl.ProxyConnection.RequestWrittenMonitor
-
Invoked immediately after an HttpContent has been sent.
- copy(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Copy the given HttpRequest
verbatim.
- copyMutableResponseFields(HttpResponse) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Make a copy of the response including all mutable fields.
- create(DefaultHttpProxyServer, ClientToProxyConnection, String, HttpFilters, HttpRequest, GlobalTrafficShapingHandler) - Static method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Create a new ProxyToServerConnection.
- createGlobalTrafficShapingHandler(TransportProtocol, long, long) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
Creates a new GlobalTrafficShapingHandler for this HttpProxyServer, using this proxy's proxyToServerEventLoop.
- ctx - Variable in class org.littleshoot.proxy.HttpFiltersAdapter
-
- ctx - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
- currentFilters - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
The current filters to apply to incoming requests/chunks.
- currentFilters - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
The filters to apply to response/chunks received from server.
- currentHttpRequest - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
While we're doing a chunked transfer, this keeps track of the HttpRequest
to which we're responding.
- currentHttpResponse - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
While we're doing a chunked transfer, this keeps track of the initial
HttpResponse object for our transfer (which is useful for its headers).
- currentRequest - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
The current HTTP request that this connection is currently servicing.
- currentServerConnection - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
This is the current server connection that we're using while transferring
chunked data.
- currentState - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
- currentStep - Variable in class org.littleshoot.proxy.impl.ConnectionFlow
-
- getAcceptorThreads() - Method in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
- getActivityTrackers() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getAllCommaSeparatedHeaderValues(String, HttpMessage) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Retrieves all comma-separated values for headers with the specified name on the HttpMessage.
- getAllEventLoops() - Method in class org.littleshoot.proxy.impl.ProxyThreadPools
-
Returns all event loops (acceptor and worker thread pools) in this pool.
- getChainedProxy() - Method in class org.littleshoot.proxy.FullFlowContext
-
The chained proxy (if proxy chaining).
- getChainedProxy() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- getChainedProxyAddress() - Method in interface org.littleshoot.proxy.ChainedProxy
-
- getChainedProxyAddress() - Method in class org.littleshoot.proxy.ChainedProxyAdapter
-
- getChainedProxyAddress() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- getChainProxyManager() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getClientAddress() - Method in class org.littleshoot.proxy.FlowContext
-
The address of the client.
- getClientAddress() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- getClientSslSession() - Method in class org.littleshoot.proxy.FlowContext
-
If using SSL, this returns the
SSLSession
on the client
connection.
- getClientToProxyAcceptorPool() - Method in class org.littleshoot.proxy.impl.ProxyThreadPools
-
- getClientToProxyAcceptorPoolForTransport(TransportProtocol) - Method in class org.littleshoot.proxy.impl.ServerGroup
-
Retrieves the client-to-proxy acceptor thread pool for the specified protocol.
- getClientToProxyWorkerPool() - Method in class org.littleshoot.proxy.impl.ProxyThreadPools
-
- getClientToProxyWorkerPoolForTransport(TransportProtocol) - Method in class org.littleshoot.proxy.impl.ServerGroup
-
Retrieves the client-to-proxy acceptor worker pool for the specified protocol.
- getClientToProxyWorkerThreads() - Method in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
- getConnection() - Method in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
- getConnectTimeout() - Method in interface org.littleshoot.proxy.HttpProxyServer
-
Returns the maximum time to wait, in milliseconds, to connect to a server.
- getConnectTimeout() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getCurrentState() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- getFiltersSource() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getHostName() - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Attempts to resolve the local machine's hostname.
- getHttpFiltersFromProxyServer(HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Request the ProxyServer for Filters.
- getHttpFiltersFromProxyServer(HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- getIdleConnectionTimeout() - Method in interface org.littleshoot.proxy.HttpProxyServer
-
- getIdleConnectionTimeout() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getInitialRequest() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- getListenAddress() - Method in interface org.littleshoot.proxy.HttpProxyServer
-
Return the address on which this proxy is listening.
- getListenAddress() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getLocalAddress() - Method in interface org.littleshoot.proxy.ChainedProxy
-
(Optional) ensure that the connection is opened from a specific local
address (useful when doing NAT traversal).
- getLocalAddress() - Method in class org.littleshoot.proxy.ChainedProxyAdapter
-
- getLocalAddress() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getLocalHost() - Static method in class org.littleshoot.proxy.impl.NetworkUtils
-
- getLOG() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- getMaximumRequestBufferSizeInBytes() - Method in interface org.littleshoot.proxy.HttpFiltersSource
-
Indicate how many (if any) bytes to buffer for incoming
HttpRequest
s.
- getMaximumRequestBufferSizeInBytes() - Method in class org.littleshoot.proxy.HttpFiltersSourceAdapter
-
- getMaximumResponseBufferSizeInBytes() - Method in interface org.littleshoot.proxy.HttpFiltersSource
-
Indicate how many (if any) bytes to buffer for incoming
HttpResponse
s.
- getMaximumResponseBufferSizeInBytes() - Method in class org.littleshoot.proxy.HttpFiltersSourceAdapter
-
- getMitmManager() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getProxyAlias() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getProxyAuthenticator() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getProxyToServerWorkerFor(TransportProtocol) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getProxyToServerWorkerPool() - Method in class org.littleshoot.proxy.impl.ProxyThreadPools
-
- getProxyToServerWorkerPoolForTransport(TransportProtocol) - Method in class org.littleshoot.proxy.impl.ServerGroup
-
Retrieves the proxy-to-server worker thread pool for the specified protocol.
- getProxyToServerWorkerThreads() - Method in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
- getReadThrottle() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getRealm() - Method in interface org.littleshoot.proxy.ProxyAuthenticator
-
The realm value to be used in the request for proxy authentication
("Proxy-Authenticate" header).
- getRemoteAddress() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- getServerHostAndPort() - Method in class org.littleshoot.proxy.FullFlowContext
-
The host and port for the server (i.e.
- getServerHostAndPort() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- getServerResolver() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getSslContext() - Method in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- getSslEngine() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- getSslEngineSource() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- getState() - Method in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
- getThreadPoolsForProtocol(TransportProtocol) - Method in class org.littleshoot.proxy.impl.ServerGroup
-
- getTransportProtocol() - Method in interface org.littleshoot.proxy.ChainedProxy
-
Tell LittleProxy what kind of TransportProtocol to use to communicate
with the chained proxy.
- getTransportProtocol() - Method in class org.littleshoot.proxy.ChainedProxyAdapter
-
- getTransportProtocol() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
State Management
- getWriteThrottle() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- globalTrafficShapingHandler - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- globalTrafficShapingHandler - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- GMT - Static variable in class org.littleshoot.proxy.impl.ProxyUtils
-
- identifyCurrentRequest() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
An HTTP response is associated with a single request, so we can pop the
correct request off the queue.
- identifyHostAndPort(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Identify the host and port for a request.
- idleConnectionTimeout - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- idleConnectionTimeout - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- incomingAcceptorThreads - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
- incomingWorkerThreads - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
- info(String, Object...) - Method in class org.littleshoot.proxy.impl.ProxyConnectionLogger
-
- info(String, Throwable) - Method in class org.littleshoot.proxy.impl.ProxyConnectionLogger
-
- initChannelPipeline(ChannelPipeline) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Initialize the for the client to
proxy channel.
- initChannelPipeline(ChannelPipeline, HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Initialize our ChannelPipeline
.
- initializeConnectionFlow() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
This method initializes our
ConnectionFlow
based on however this connection has been configured.
- initializeKeyStore() - Method in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- initializeSSLContext() - Method in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- initialRequest - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
This is the initial request received prior to connecting.
- is(ConnectionState) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Utility for checking current state.
- isChunked(HttpObject) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
If an HttpObject is not the last chunk, then that means there are other
chunks that will follow.
- isCONNECT(HttpObject) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
- isConnecting() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
If this connection is currently in the process of going through a
ConnectionFlow
, this will return true.
- isContentAlwaysEmpty(HttpMessage) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection.HeadAwareHttpResponseDecoder
-
- isContentAlwaysEmpty(HttpMessage) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Returns true if the HTTP message cannot contain an entity body, according to the HTTP spec.
- isDisconnectingOrDisconnected() - Method in enum org.littleshoot.proxy.impl.ConnectionState
-
Indicates whether this ConnectionState is no longer waiting for messages and is either in the process of disconnecting
or is already disconnected.
- isFalse(String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Returns true
if the specified string is either "false" or
"off" ignoring case.
- isHEAD(HttpRequest) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Returns true if the specified HttpRequest is a HEAD request.
- isHead(HttpRequest) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Returns true if the request is an HTTP HEAD request.
- isLastChunk(HttpObject) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
If an HttpObject implements the market interface LastHttpContent, it
represents the last chunk of a transfer.
- isMitming() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- isPartOfConnectionFlow() - Method in enum org.littleshoot.proxy.impl.ConnectionState
-
Indicates whether this ConnectionState corresponds to a step in a
ConnectionFlow
.
- isRequestToOriginServer(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Returns true if the specified request is a request to an origin server, rather than to a proxy server.
- isResponseSelfTerminating(HttpResponse) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Returns true if the HTTP response from the server is expected to indicate its own message length/end-of-message.
- isSaturated() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Indicates whether or not this connection is saturated (i.e.
- isStopped() - Method in class org.littleshoot.proxy.impl.ServerGroup
-
- issuedRequests - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Keeps track of HttpRequests that have been issued so that we can
associate them with responses that we get back
- isTransparent() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- isTrue(String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Returns true
if the specified string is either "true" or
"on" ignoring case.
- isTunneling() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
- isUdtAvailable() - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Determines if UDT is available on the classpath.
- parseHostAndPort(HttpRequest) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Parses the host and port an HTTP request is being sent to.
- parseHostAndPort(String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Parses the host and port an HTTP request is being sent to.
- partOfConnectionFlow - Variable in enum org.littleshoot.proxy.impl.ConnectionState
-
- PASSWORD - Static variable in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- PATTERN_RFC1123 - Static variable in class org.littleshoot.proxy.impl.ProxyUtils
-
Date format pattern used to parse HTTP date headers in RFC 1123 format.
- plusActivityTracker(ActivityTracker) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- plusActivityTracker(ActivityTracker) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- pollLog4JConfigurationFileIfAvailable() - Static method in class org.littleshoot.proxy.Launcher
-
- port - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- printHelp(Options, String) - Static method in class org.littleshoot.proxy.Launcher
-
- processCurrentStep() - Method in class org.littleshoot.proxy.impl.ConnectionFlow
-
- PROTOCOL - Static variable in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- protocolThreadPools - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
- proxyAlias - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- proxyAlias - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
The alias or pseudonym for this proxy, used when adding the Via header.
- proxyAuthenticator - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- proxyAuthenticator - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- ProxyAuthenticator - Interface in org.littleshoot.proxy
-
Interface for objects that can authenticate someone for using our Proxy on
the basis of a username and password.
- ProxyConnection<I extends io.netty.handler.codec.http.HttpObject> - Class in org.littleshoot.proxy.impl
-
Base class for objects that represent a connection to/from our proxy.
- ProxyConnection(ConnectionState, DefaultHttpProxyServer, boolean) - Constructor for class org.littleshoot.proxy.impl.ProxyConnection
-
Construct a new ProxyConnection.
- ProxyConnection.BytesReadMonitor - Class in org.littleshoot.proxy.impl
-
Utility handler for monitoring bytes read on this connection.
- ProxyConnection.BytesWrittenMonitor - Class in org.littleshoot.proxy.impl
-
Utility handler for monitoring bytes written on this connection.
- ProxyConnection.RequestReadMonitor - Class in org.littleshoot.proxy.impl
-
Utility handler for monitoring requests read on this connection.
- ProxyConnection.RequestWrittenMonitor - Class in org.littleshoot.proxy.impl
-
Utility handler for monitoring requests written on this connection.
- ProxyConnection.ResponseReadMonitor - Class in org.littleshoot.proxy.impl
-
Utility handler for monitoring responses read on this connection.
- ProxyConnection.ResponseWrittenMonitor - Class in org.littleshoot.proxy.impl
-
Utility handler for monitoring responses written on this connection.
- ProxyConnectionLogger - Class in org.littleshoot.proxy.impl
-
A helper class that logs messages for ProxyConnections.
- ProxyConnectionLogger(ProxyConnection) - Constructor for class org.littleshoot.proxy.impl.ProxyConnectionLogger
-
- ProxyConnectionLogger.LocationAwareLogggerDispatch - Class in org.littleshoot.proxy.impl
-
Dispatcher for a LocationAwareLogger.
- ProxyConnectionLogger.LogDispatch - Interface in org.littleshoot.proxy.impl
-
- ProxyConnectionLogger.LoggerDispatch - Class in org.littleshoot.proxy.impl
-
Fallback dispatch if a LocationAwareLogger is not available from
the SLF4J LoggerFactory.
- proxyServer - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
- ProxyThreadPools - Class in org.littleshoot.proxy.impl
-
Encapsulates the thread pools used by the proxy.
- ProxyThreadPools(SelectorProvider, int, int, int, String, int) - Constructor for class org.littleshoot.proxy.impl.ProxyThreadPools
-
- proxyToClientResponse(HttpObject) - Method in interface org.littleshoot.proxy.HttpFilters
-
Filters responses on their way from the proxy to the client.
- proxyToClientResponse(HttpObject) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- ProxyToServerConnection - Class in org.littleshoot.proxy.impl
-
Represents a connection from our proxy to a server on the web.
- ProxyToServerConnection(DefaultHttpProxyServer, ClientToProxyConnection, String, ChainedProxy, Queue<ChainedProxy>, HttpFilters, GlobalTrafficShapingHandler) - Constructor for class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- ProxyToServerConnection.HeadAwareHttpResponseDecoder - Class in org.littleshoot.proxy.impl
-
Responses to HEAD requests aren't supposed to have content, but Netty
doesn't know that any given response is to a HEAD request, so it needs to
be told that there's no content so that it doesn't hang waiting for it.
- proxyToServerConnectionFailed() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server connection has failed.
- proxyToServerConnectionFailed() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerConnectionQueued() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server connection is in queue.
- proxyToServerConnectionQueued() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerConnectionSSLHandshakeStarted() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server ssl handshake is initiating.
- proxyToServerConnectionSSLHandshakeStarted() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerConnectionStarted() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server connection is initiating.
- proxyToServerConnectionStarted() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerConnectionSucceeded(ChannelHandlerContext) - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server connection has succeeded.
- proxyToServerConnectionSucceeded(ChannelHandlerContext) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerRequest(HttpObject) - Method in interface org.littleshoot.proxy.HttpFilters
-
Filters requests on their way from the proxy to the server.
- proxyToServerRequest(HttpObject) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerRequestSending() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server request is being sent.
- proxyToServerRequestSending() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerRequestSent() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that the HTTP request, including any content, has been sent.
- proxyToServerRequestSent() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerResolutionFailed(String) - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server DNS resolution failed for the specified host and port.
- proxyToServerResolutionFailed(String) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerResolutionStarted(String) - Method in interface org.littleshoot.proxy.HttpFilters
-
Filter DNS resolution from proxy to server.
- proxyToServerResolutionStarted(String) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerResolutionSucceeded(String, InetSocketAddress) - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that proxy to server DNS resolution has happened.
- proxyToServerResolutionSucceeded(String, InetSocketAddress) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- proxyToServerWorkerPool - Variable in class org.littleshoot.proxy.impl.ProxyThreadPools
-
These EventLoopGroup
s are used for making outgoing
connections to servers.
- proxyToServerWorkerThreads - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- proxyToServerWorkerThreads - Variable in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
- ProxyUtils - Class in org.littleshoot.proxy.impl
-
Utilities for the proxy.
- ProxyUtils() - Constructor for class org.littleshoot.proxy.impl.ProxyUtils
-
- read(Object) - Method in class org.littleshoot.proxy.impl.ConnectionFlow
-
- read(ConnectionFlow, Object) - Method in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
Any messages that are read from the underlying connection while we're at
this step of the connection flow are passed to this method.
- read(Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Read is invoked automatically by Netty as messages arrive on the socket.
- read(Object) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Reading
- readHTTP(HttpObject) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Handles reading HttpObject
s.
- readHTTPChunk(HttpContent) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- readHTTPChunk(HttpContent) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Implement this to handle reading a chunk in a chunked transfer.
- readHTTPChunk(HttpContent) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- readHTTPInitial(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Reading
- readHTTPInitial(I) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Implement this to handle reading the initial object (e.g.
- readHTTPInitial(HttpResponse) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- readRaw(ByteBuf) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- readRaw(ByteBuf) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Implement this to handle reading a raw buffer as they are used in HTTP
tunneling.
- readRaw(ByteBuf) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- readThrottleBytesPerSecond - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- recordClientConnected() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- recordClientDisconnected() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- recordClientSSLHandshakeSucceeded() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- registerChannel(Channel) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
Register a new Channel
with this server, for later closing.
- registeredServers - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
List of all servers registered to use this ServerGroup.
- registerProxyServer(HttpProxyServer) - Method in class org.littleshoot.proxy.impl.ServerGroup
-
Registers the specified proxy server as a consumer of this server group.
- rememberCurrentResponse(HttpResponse) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Keeps track of the current HttpResponse so that we can associate its
headers with future related chunks for this same transfer.
- remoteAddress - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- removeSDCHEncoding(HttpHeaders) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Remove sdch from encodings we accept since we can't decode it.
- requestedAddress - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- requestedAddress - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- requestRead(HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyConnection.RequestReadMonitor
-
- requestReadMonitor - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- RequestReadMonitor() - Constructor for class org.littleshoot.proxy.impl.ProxyConnection.RequestReadMonitor
-
- requestReceivedFromClient(FlowContext, HttpRequest) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that proxy received an HttpRequest
from the client.
- requestReceivedFromClient(FlowContext, HttpRequest) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- requestSentToServer(FullFlowContext, HttpRequest) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that proxy attempted to send a request to the server.
- requestSentToServer(FullFlowContext, HttpRequest) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- requestWriting(HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyConnection.RequestWrittenMonitor
-
Invoked immediately before an HttpRequest is written.
- requestWritten(HttpRequest) - Method in class org.littleshoot.proxy.impl.ProxyConnection.RequestWrittenMonitor
-
Invoked immediately after an HttpRequest has been sent.
- RequestWrittenMonitor() - Constructor for class org.littleshoot.proxy.impl.ProxyConnection.RequestWrittenMonitor
-
- requestWrittenMonitor - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- requiresEncryption() - Method in interface org.littleshoot.proxy.ChainedProxy
-
Implement this method to tell LittleProxy whether or not to encrypt
connections to the chained proxy for the given request.
- requiresEncryption() - Method in class org.littleshoot.proxy.ChainedProxyAdapter
-
- resetConnectionForRetry() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Convenience method to prepare to retry this connection.
- resolve(String, int) - Method in class org.littleshoot.proxy.DefaultHostResolver
-
- resolve(String, int) - Method in class org.littleshoot.proxy.DnsSecServerResolver
-
- resolve(String, int) - Method in interface org.littleshoot.proxy.HostResolver
-
- respond(ProxyToServerConnection, HttpFilters, HttpRequest, HttpResponse, HttpObject) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Send a response to the client.
- RespondCONNECTSuccessful - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Tells the Client that its HTTP CONNECT request was successful.
- respondWith(HttpObject) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Respond to the client with the given HttpObject
.
- respondWithShortCircuitResponse(HttpResponse) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Responds to the client with the specified "short-circuit" response.
- responseFor(HttpVersion, HttpResponseStatus, String) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Factory for DefaultFullHttpResponse
s.
- responseFor(HttpVersion, HttpResponseStatus, ByteBuf, int) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Factory for DefaultFullHttpResponse
s.
- responseFor(HttpVersion, HttpResponseStatus) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Factory for DefaultFullHttpResponse
s.
- responseRead(HttpResponse) - Method in class org.littleshoot.proxy.impl.ProxyConnection.ResponseReadMonitor
-
- ResponseReadMonitor() - Constructor for class org.littleshoot.proxy.impl.ProxyConnection.ResponseReadMonitor
-
- responseReadMonitor - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- responseReceivedFromServer(FullFlowContext, HttpResponse) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that the proxy received an HttpResponse
from the server.
- responseReceivedFromServer(FullFlowContext, HttpResponse) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- responseSentToClient(FlowContext, HttpResponse) - Method in interface org.littleshoot.proxy.ActivityTracker
-
Record that the proxy sent a response to the client.
- responseSentToClient(FlowContext, HttpResponse) - Method in class org.littleshoot.proxy.ActivityTrackerAdapter
-
- responseWritten(HttpResponse) - Method in class org.littleshoot.proxy.impl.ProxyConnection.ResponseWrittenMonitor
-
- responseWrittenMonitor - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- ResponseWrittenMonitor() - Constructor for class org.littleshoot.proxy.impl.ProxyConnection.ResponseWrittenMonitor
-
- resumeReading() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Call this to resume reading.
- resumeReadingIfNecessary() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- runsAsSslClient - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
- SelfSignedMitmManager - Class in org.littleshoot.proxy.extras
-
MitmManager
that uses self-signed certs for everything.
- SelfSignedMitmManager() - Constructor for class org.littleshoot.proxy.extras.SelfSignedMitmManager
-
- selfSignedSslEngineSource - Variable in class org.littleshoot.proxy.extras.SelfSignedMitmManager
-
- SelfSignedSslEngineSource - Class in org.littleshoot.proxy.extras
-
- SelfSignedSslEngineSource(String, boolean, boolean) - Constructor for class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- SelfSignedSslEngineSource(String) - Constructor for class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- SelfSignedSslEngineSource(boolean) - Constructor for class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- SelfSignedSslEngineSource(boolean, boolean) - Constructor for class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- SelfSignedSslEngineSource() - Constructor for class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- sendCerts - Variable in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- serialVersionUID - Static variable in exception org.littleshoot.proxy.UnknownTransportProtocolException
-
- SERVER_REGISTRATION_LOCK - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
- serverBecameSaturated(ProxyToServerConnection) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
When a server becomes saturated, we stop reading from the client.
- serverBecameWriteable(ProxyToServerConnection) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
When a server becomes writeable, we check to see if all servers are
writeable and if they are, we resume reading.
- serverConnection - Variable in class org.littleshoot.proxy.impl.ConnectionFlow
-
- serverConnection - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- serverConnectionFailed(ProxyToServerConnection, ConnectionState, Throwable) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
If the
ProxyToServerConnection
fails to complete its connection
lifecycle successfully, this method is called to let us know about it.
- serverConnectionFlowStarted(ProxyToServerConnection) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- serverConnectionsByHostAndPort - Variable in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Keep track of all ProxyToServerConnections by host+port.
- serverConnectionSucceeded(ProxyToServerConnection, boolean) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
If the
ProxyToServerConnection
completes its connection lifecycle
successfully, this method is called to let us know about it.
- serverDisconnected(ProxyToServerConnection) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
On disconnect of the server, track that we have one fewer connected
servers and then disconnect the client if necessary.
- serverGroup - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- serverGroup - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- ServerGroup - Class in org.littleshoot.proxy.impl
-
Manages thread pools for one or more proxy server instances.
- ServerGroup(String, int, int, int) - Constructor for class org.littleshoot.proxy.impl.ServerGroup
-
Creates a new ServerGroup instance for a proxy.
- serverGroupCount - Static variable in class org.littleshoot.proxy.impl.ServerGroup
-
- serverGroupId - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
The ID of this server group.
- serverHostAndPort - Variable in class org.littleshoot.proxy.FullFlowContext
-
- serverHostAndPort - Variable in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- serverResolver - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- serverResolver - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- serverSslEngine(String, int) - Method in class org.littleshoot.proxy.extras.SelfSignedMitmManager
-
- serverSslEngine() - Method in class org.littleshoot.proxy.extras.SelfSignedMitmManager
-
- serverSslEngine(String, int) - Method in interface org.littleshoot.proxy.MitmManager
-
Creates an
SSLEngine
for encrypting the server connection.
- serverSslEngine() - Method in interface org.littleshoot.proxy.MitmManager
-
Creates an
SSLEngine
for encrypting the server connection.
- serverToProxyResponse(HttpObject) - Method in interface org.littleshoot.proxy.HttpFilters
-
Filters responses on their way from the server to the proxy.
- serverToProxyResponse(HttpObject) - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- serverToProxyResponseReceived() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that server to proxy response has been received.
- serverToProxyResponseReceived() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- serverToProxyResponseReceiving() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that server to proxy response is being received.
- serverToProxyResponseReceiving() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- serverToProxyResponseTimedOut() - Method in interface org.littleshoot.proxy.HttpFilters
-
Informs filter that a timeout occurred before the server response was received by the client.
- serverToProxyResponseTimedOut() - Method in class org.littleshoot.proxy.HttpFiltersAdapter
-
- setConnectTimeout(int) - Method in interface org.littleshoot.proxy.HttpProxyServer
-
Sets the maximum time to wait, in milliseconds, to connect to a server.
- setConnectTimeout(int) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- setIdleConnectionTimeout(int) - Method in interface org.littleshoot.proxy.HttpProxyServer
-
- setIdleConnectionTimeout(int) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- setMitming(boolean) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- setThrottle(long, long) - Method in interface org.littleshoot.proxy.HttpProxyServer
-
Set the read/write throttle bandwidths (in bytes/second) for this proxy.
- setThrottle(long, long) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- setupConnectionParameters() - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
Set up our connection parameters based on server address and chained
proxies.
- SHOULD_NOT_PROXY_HOP_BY_HOP_HEADERS - Static variable in class org.littleshoot.proxy.impl.ProxyUtils
-
Hop-by-hop headers that should be removed when proxying, as defined by the HTTP 1.1 spec, section 13.5.1
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.5.1).
- shouldCloseClientConnection(HttpRequest, HttpResponse, HttpObject) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Determine whether or not the client connection should be closed.
- shouldCloseServerConnection(HttpRequest, HttpResponse, HttpObject) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Determines if the remote connection should be closed based on the request
and response pair.
- shouldExecuteOnEventLoop() - Method in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
Indicates whether or not this step should be executed on the channel's
event loop.
- shouldRemoveHopByHopHeader(String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Determines if the specified header should be removed from the proxied response because it is a hop-by-hop header, as defined by the
HTTP 1.1 spec in section 13.5.1.
- shouldSuppressInitialRequest() - Method in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
Indicates whether or not to suppress the initial request.
- shutdown(boolean) - Method in class org.littleshoot.proxy.impl.ServerGroup
-
Shuts down all event loops owned by this server group.
- splitCommaSeparatedHeaderValues(String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Splits comma-separated header values into tokens.
- sslContext - Variable in class org.littleshoot.proxy.extras.SelfSignedSslEngineSource
-
- sslEngine - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
If using encryption, this holds our
SSLEngine
.
- sslEngineSource - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- sslEngineSource - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- SslEngineSource - Interface in org.littleshoot.proxy
-
- start() - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Build and starts the server.
- start() - Method in class org.littleshoot.proxy.impl.ConnectionFlow
-
- start() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- start() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- StartTunneling - Variable in class org.littleshoot.proxy.impl.ProxyConnection
-
Enables tunneling on this connection by dropping the HTTP related
encoders and decoders, as well as idle timers.
- state - Variable in class org.littleshoot.proxy.impl.ConnectionFlowStep
-
- steps - Variable in class org.littleshoot.proxy.impl.ConnectionFlow
-
- stop() - Method in interface org.littleshoot.proxy.HttpProxyServer
-
Stops the server and all related clones.
- stop() - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- stopped - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer
-
- stopped - Variable in class org.littleshoot.proxy.impl.ServerGroup
-
True when this ServerGroup is stopped.
- stopReading() - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Call this to stop reading.
- stripConnectionTokens(HttpHeaders) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
RFC2616 Section 14.10
HTTP/1.1 proxies MUST parse the Connection header field before a message
is forwarded and, for each connection-token in this field, remove any
header field(s) from the message with the same name as the
connection-token.
- stripHopByHopHeaders(HttpHeaders) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Removes all headers that should not be forwarded.
- stripHost(String) - Static method in class org.littleshoot.proxy.impl.ProxyUtils
-
Strips the host from a URI string.
- succeed() - Method in class org.littleshoot.proxy.impl.ConnectionFlow
-
Called when the flow is complete and successful.
- suppressInitialRequest - Variable in class org.littleshoot.proxy.impl.ConnectionFlow
-
- switchProxyConnectionHeader(HttpHeaders) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Switch the de-facto standard "Proxy-Connection" header to "Connection"
when we pass it along to the remote host.
- warn(String, Object...) - Method in class org.littleshoot.proxy.impl.ProxyConnectionLogger
-
- warn(String, Throwable) - Method in class org.littleshoot.proxy.impl.ProxyConnectionLogger
-
- withAcceptorThreads(int) - Method in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
Set the number of acceptor threads to create.
- withAddress(InetSocketAddress) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Listen for incoming connections on the given address.
- withAddress(InetSocketAddress) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withAllowLocalOnly(boolean) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify whether or not to only allow local connections.
- withAllowLocalOnly(boolean) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withAuthenticateSslClients(boolean) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- withAuthenticateSslClients(boolean) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withChainProxyManager(ChainedProxyManager) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- withChainProxyManager(ChainedProxyManager) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withClientToProxyWorkerThreads(int) - Method in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
Set the number of client-to-proxy worker threads to create.
- withConnectTimeout(int) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify the timeout for connecting to the upstream server on a new
connection, in milliseconds.
- withConnectTimeout(int) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withFiltersSource(HttpFiltersSource) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify a
HttpFiltersSource
to use for filtering requests and/or
responses through this proxy.
- withFiltersSource(HttpFiltersSource) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withIdleConnectionTimeout(int) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify the timeout after which to disconnect idle connections, in
seconds.
- withIdleConnectionTimeout(int) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withListenOnAllAddresses(boolean) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- withListenOnAllAddresses(boolean) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
Deprecated.
- withManInTheMiddle(MitmManager) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify an
MitmManager
to use for making this proxy act as an SSL
man in the middle
- withManInTheMiddle(MitmManager) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withName(String) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Give the server a name (used for naming threads, useful for logging).
- withName(String) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withNetworkInterface(InetSocketAddress) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
All outgoing-communication of the proxy-instance is goin' to be routed via the given network-interface
- withNetworkInterface(InetSocketAddress) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withPort(int) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Listen for incoming connections on the given port.
- withPort(int) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withProxyAlias(String) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Sets the alias to use when adding Via headers to incoming and outgoing HTTP messages.
- withProxyAlias(String) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withProxyAuthenticator(ProxyAuthenticator) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- withProxyAuthenticator(ProxyAuthenticator) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withProxyToServerWorkerThreads(int) - Method in class org.littleshoot.proxy.impl.ThreadPoolConfiguration
-
Set the number of proxy-to-server worker threads to create.
- withServerResolver(HostResolver) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify a custom
HostResolver
for resolving server addresses.
- withServerResolver(HostResolver) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withSslEngineSource(SslEngineSource) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- withSslEngineSource(SslEngineSource) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withThreadPoolConfiguration(ThreadPoolConfiguration) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Set the configuration parameters for the proxy's thread pools.
- withThreadPoolConfiguration(ThreadPoolConfiguration) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withThrottling(long, long) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify the read and/or write bandwidth throttles for this proxy server.
- withThrottling(long, long) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withTransparent(boolean) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify whether or not to run this proxy as a transparent proxy.
- withTransparent(boolean) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withTransportProtocol(TransportProtocol) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
- withTransportProtocol(TransportProtocol) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- withUseDnsSec(boolean) - Method in interface org.littleshoot.proxy.HttpProxyServerBootstrap
-
Specify whether or not to use secure DNS lookups for outbound
connections.
- withUseDnsSec(boolean) - Method in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.littleshoot.proxy.impl.ProxyConnection.BytesWrittenMonitor
-
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.littleshoot.proxy.impl.ProxyConnection.RequestWrittenMonitor
-
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.littleshoot.proxy.impl.ProxyConnection.ResponseWrittenMonitor
-
- write(Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
This method is called by users of the ProxyConnection to send stuff out
over the socket.
- write(Object, HttpFilters) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- write(Object) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- writeAuthenticationRequired(String) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
- writeBadGateway(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Tells the client that something went wrong trying to proxy its request.
- writeBadRequest(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Tells the client that the request was malformed or erroneous.
- writeEmptyBuffer() - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Write an empty buffer at the end of a chunked transfer.
- writeGatewayTimeout(HttpRequest) - Method in class org.littleshoot.proxy.impl.ClientToProxyConnection
-
Tells the client that the connection to the server, or possibly to some intermediary service (such as DNS), timed out.
- writeHttp(HttpObject) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Writes HttpObjects to the connection asynchronously.
- writeHttp(HttpObject) - Method in class org.littleshoot.proxy.impl.ProxyToServerConnection
-
- writeRaw(ByteBuf) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-
Writes raw buffers to the connection.
- writeThrottleBytesPerSecond - Variable in class org.littleshoot.proxy.impl.DefaultHttpProxyServer.DefaultHttpProxyServerBootstrap
-
- writeToChannel(Object) - Method in class org.littleshoot.proxy.impl.ProxyConnection
-