Package org.littleshoot.proxy
Class FlowContext
- java.lang.Object
-
- org.littleshoot.proxy.FlowContext
-
- Direct Known Subclasses:
FullFlowContext
public class FlowContext extends Object
Encapsulates contextual information for flow information that's being reported to a
ActivityTracker.
-
-
Field Summary
Fields Modifier and Type Field Description private InetSocketAddressclientAddressprivate SSLSessionclientSslSession
-
Constructor Summary
Constructors Constructor Description FlowContext(ClientToProxyConnection clientConnection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddressgetClientAddress()The address of the client.SSLSessiongetClientSslSession()If using SSL, this returns theSSLSessionon the client connection.
-
-
-
Field Detail
-
clientAddress
private final InetSocketAddress clientAddress
-
clientSslSession
private final SSLSession clientSslSession
-
-
Constructor Detail
-
FlowContext
public FlowContext(ClientToProxyConnection clientConnection)
-
-
Method Detail
-
getClientAddress
public InetSocketAddress getClientAddress()
The address of the client.
-
getClientSslSession
public SSLSession getClientSslSession()
If using SSL, this returns theSSLSessionon the client connection.
-
-