public static final class SlotState.WaitingForEndOfResponseEntity extends SlotState.ConnectedState implements SlotState.BusyWithResultAlreadyDispatched, scala.Product, scala.Serializable
SlotState.BusyState, SlotState.BusyWithResultAlreadyDispatched, SlotState.ConnectedState, SlotState.Connecting, SlotState.Connecting$, SlotState.Idle$, SlotState.IdleState, SlotState.PreConnecting$, SlotState.Unconnected$, SlotState.WaitingForEndOfRequestEntity, SlotState.WaitingForEndOfRequestEntity$, SlotState.WaitingForEndOfResponseEntity, SlotState.WaitingForEndOfResponseEntity$, SlotState.WaitingForResponse, SlotState.WaitingForResponse$, SlotState.WaitingForResponseDispatch, SlotState.WaitingForResponseDispatch$, SlotState.WaitingForResponseEntitySubscription, SlotState.WaitingForResponseEntitySubscription$, SlotState.WithRequestDispatching
Constructor and Description |
---|
WaitingForEndOfResponseEntity(PoolFlow.RequestContext ongoingRequest,
HttpResponse ongoingResponse) |
Modifier and Type | Method and Description |
---|---|
PoolFlow.RequestContext |
ongoingRequest() |
HttpResponse |
ongoingResponse() |
SlotState |
onResponseEntityCompleted(SlotContext ctx)
Will be called either immediately if the response entity is strict or otherwise later
|
isConnected
illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdown, onTimeout, stateTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onConnectionCompleted, onConnectionFailed, onResponseEntityFailed
failOngoingRequest, isIdle, onConnectionAttemptFailed, onRequestEntityFailed, onShutdown
public WaitingForEndOfResponseEntity(PoolFlow.RequestContext ongoingRequest, HttpResponse ongoingResponse)
public PoolFlow.RequestContext ongoingRequest()
ongoingRequest
in interface SlotState.BusyState
public HttpResponse ongoingResponse()
public SlotState onResponseEntityCompleted(SlotContext ctx)
SlotState
onResponseEntityCompleted
in class SlotState