Uses of Enum
org.littleshoot.proxy.impl.ConnectionState
Packages that use ConnectionState
-
Uses of ConnectionState in org.littleshoot.proxy.impl
Fields in org.littleshoot.proxy.impl declared as ConnectionStateModifier and TypeFieldDescriptionprivate ConnectionStateProxyConnection.currentStateprivate final ConnectionStateConnectionFlowStep.stateMethods in org.littleshoot.proxy.impl that return ConnectionStateModifier and TypeMethodDescriptionprivate 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 ConnectionStateReturns 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 ConnectionStateModifier and TypeMethodDescriptionprotected 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 ConnectionStateModifierConstructorDescription(package private)ConnectionFlowStep(ProxyConnection connection, ConnectionState state) Construct a new step in a connection flow.protectedProxyConnection(ConnectionState initialState, DefaultHttpProxyServer proxyServer, boolean runsAsSslClient) Construct a new ProxyConnection.