Package org.littleshoot.proxy
Class FullFlowContext
- java.lang.Object
-
- org.littleshoot.proxy.FlowContext
-
- org.littleshoot.proxy.FullFlowContext
-
public class FullFlowContext extends FlowContext
Extension ofFlowContextthat provides additional information (which we know after actually processing the request from the client).
-
-
Field Summary
Fields Modifier and Type Field Description private ChainedProxychainedProxyprivate StringserverHostAndPort
-
Constructor Summary
Constructors Constructor Description FullFlowContext(ClientToProxyConnection clientConnection, ProxyToServerConnection serverConnection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChainedProxygetChainedProxy()The chained proxy (if proxy chaining).StringgetServerHostAndPort()The host and port for the server (i.e.-
Methods inherited from class org.littleshoot.proxy.FlowContext
getClientAddress, getClientSslSession
-
-
-
-
Field Detail
-
serverHostAndPort
private final String serverHostAndPort
-
chainedProxy
private final ChainedProxy chainedProxy
-
-
Constructor Detail
-
FullFlowContext
public FullFlowContext(ClientToProxyConnection clientConnection, ProxyToServerConnection serverConnection)
-
-
Method Detail
-
getServerHostAndPort
public String getServerHostAndPort()
The host and port for the server (i.e. the ultimate endpoint).
-
getChainedProxy
public ChainedProxy getChainedProxy()
The chained proxy (if proxy chaining).
-
-