| Package | Description |
|---|---|
| org.littleshoot.proxy | |
| org.littleshoot.proxy.impl |
| Constructor and Description |
|---|
FullFlowContext(ClientToProxyConnection clientConnection,
ProxyToServerConnection serverConnection) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ClientToProxyConnection.serverBecameSaturated(ProxyToServerConnection serverConnection)
When a server becomes saturated, we stop reading from the client.
|
protected void |
ClientToProxyConnection.serverBecameWriteable(ProxyToServerConnection serverConnection)
When a server becomes writeable, we check to see if all servers are
writeable and if they are, we resume reading.
|
protected boolean |
ClientToProxyConnection.serverConnectionFailed(ProxyToServerConnection serverConnection,
org.littleshoot.proxy.impl.ConnectionState lastStateBeforeFailure,
Throwable cause)
If the
ProxyToServerConnection fails to complete its connection
lifecycle successfully, this method is called to let us know about it. |
protected void |
ClientToProxyConnection.serverConnectionFlowStarted(ProxyToServerConnection serverConnection)
Called when
ProxyToServerConnection starts its connection flow. |
protected void |
ClientToProxyConnection.serverConnectionSucceeded(ProxyToServerConnection serverConnection,
boolean shouldForwardInitialRequest)
If the
ProxyToServerConnection completes its connection lifecycle
successfully, this method is called to let us know about it. |
protected void |
ClientToProxyConnection.serverDisconnected(ProxyToServerConnection serverConnection)
On disconnect of the server, track that we have one fewer connected
servers and then disconnect the client if necessary.
|
Copyright © 2009-2013 LittleShoot. All Rights Reserved.