Uses of Class
org.littleshoot.proxy.impl.ConnectionState
-
Packages that use ConnectionState Package Description org.littleshoot.proxy.impl -
-
Uses of ConnectionState in org.littleshoot.proxy.impl
Fields in org.littleshoot.proxy.impl declared as ConnectionState Modifier and Type Field Description private ConnectionStateProxyConnection. currentStateprivate ConnectionStateConnectionFlowStep. stateMethods in org.littleshoot.proxy.impl that return ConnectionState Modifier and Type Method Description private ConnectionStateClientToProxyConnection. doReadHTTPInitial(HttpRequest httpRequest)Reads anHttpRequest.protected ConnectionStateProxyConnection. getCurrentState()(package private) ConnectionStateConnectionFlowStep. getState()protected ConnectionStateClientToProxyConnection. readHTTPInitial(HttpRequest httpRequest)protected abstract ConnectionStateProxyConnection. readHTTPInitial(I httpObject)Implement this to handle reading the initial object (e.g.protected ConnectionStateProxyToServerConnection. readHTTPInitial(HttpResponse httpResponse)static ConnectionStateConnectionState. valueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionState[]ConnectionState. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.littleshoot.proxy.impl with parameters of type ConnectionState Modifier and Type Method Description protected voidProxyConnection. become(ConnectionState state)Updates the current state to the given value.protected voidProxyToServerConnection. become(ConnectionState newState)protected booleanProxyConnection. is(ConnectionState state)Utility for checking current state.protected booleanClientToProxyConnection. serverConnectionFailed(ProxyToServerConnection serverConnection, ConnectionState lastStateBeforeFailure, Throwable cause)If theProxyToServerConnectionfails to complete its connection lifecycle successfully, this method is called to let us know about it.Constructors in org.littleshoot.proxy.impl with parameters of type ConnectionState Constructor Description ConnectionFlowStep(ProxyConnection connection, ConnectionState state)Construct a new step in a connection flow.ProxyConnection(ConnectionState initialState, DefaultHttpProxyServer proxyServer, boolean runsAsSslClient)Construct a new ProxyConnection.
-