public static final class SlotState.Connecting extends SlotState.ConnectedState implements SlotState.BusyState, scala.Product, java.io.Serializable
SlotState.BusyState, SlotState.BusyWithResultAlreadyDetermined, SlotState.ConnectedState, SlotState.Connecting, SlotState.Connecting$, SlotState.Embargoed, SlotState.Embargoed$, SlotState.Failed, SlotState.Failed$, SlotState.Idle, SlotState.Idle$, SlotState.IdleState, SlotState.OutOfEmbargo$, SlotState.PreConnecting$, SlotState.PushingRequestToConnection, SlotState.PushingRequestToConnection$, SlotState.ShouldCloseConnectionState, SlotState.ToBeClosed$, SlotState.Unconnected$, SlotState.UnconnectedState, SlotState.WaitingForEndOfRequestEntity$, SlotState.WaitingForEndOfResponseEntity, SlotState.WaitingForEndOfResponseEntity$, SlotState.WaitingForResponse, SlotState.WaitingForResponse$, SlotState.WaitingForResponseDispatch, SlotState.WaitingForResponseDispatch$, SlotState.WaitingForResponseEntitySubscription, SlotState.WaitingForResponseEntitySubscription$
Constructor and Description |
---|
Connecting(PoolFlow.RequestContext ongoingRequest) |
Modifier and Type | Method and Description |
---|---|
SlotState |
onConnectionAttemptSucceeded(SlotContext ctx,
Http.OutgoingConnection outgoingConnection) |
PoolFlow.RequestContext |
ongoingRequest() |
boolean |
waitingForEndOfRequestEntity() |
isConnected, onNewConnectionEmbargo
idle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdown, onTimeout, stateTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
failOngoingRequest, isIdle, onConnectionAttemptFailed, onConnectionCompleted, onConnectionFailed, onRequestEntityFailed, onShutdown
public Connecting(PoolFlow.RequestContext ongoingRequest)
public PoolFlow.RequestContext ongoingRequest()
ongoingRequest
in interface SlotState.BusyState
public boolean waitingForEndOfRequestEntity()
waitingForEndOfRequestEntity
in interface SlotState.BusyState
public SlotState onConnectionAttemptSucceeded(SlotContext ctx, Http.OutgoingConnection outgoingConnection)
onConnectionAttemptSucceeded
in class SlotState