public static final class SlotState.WaitingForResponseEntitySubscription extends SlotState.ConnectedState implements SlotState.BusyWithResultAlreadyDetermined, 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 |
|---|
WaitingForResponseEntitySubscription(PoolFlow.RequestContext ongoingRequest,
HttpResponse ongoingResponse,
scala.concurrent.duration.Duration stateTimeout,
boolean waitingForEndOfRequestEntity) |
| Modifier and Type | Method and Description |
|---|---|
PoolFlow.RequestContext |
ongoingRequest() |
HttpResponse |
ongoingResponse() |
SlotState |
onRequestEntityCompleted(SlotContext ctx)
Will be called either immediately if the request entity is strict or otherwise later
|
SlotState |
onResponseEntitySubscribed(SlotContext ctx) |
SlotState |
onTimeout(SlotContext ctx) |
scala.concurrent.duration.Duration |
stateTimeout()
A slot can define a timeout for that state after which onTimeout will be called.
|
boolean |
waitingForEndOfRequestEntity() |
isConnected, onNewConnectionEmbargoidle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseReceived, onShutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonConnectionCompleted, onConnectionFailed, onRequestEntityFailed, onResponseEntityFailedfailOngoingRequest, isIdle, onConnectionAttemptFailed, onShutdownpublic WaitingForResponseEntitySubscription(PoolFlow.RequestContext ongoingRequest, HttpResponse ongoingResponse, scala.concurrent.duration.Duration stateTimeout, boolean waitingForEndOfRequestEntity)
public PoolFlow.RequestContext ongoingRequest()
ongoingRequest in interface SlotState.BusyStatepublic HttpResponse ongoingResponse()
public scala.concurrent.duration.Duration stateTimeout()
SlotStatestateTimeout in class SlotStatepublic boolean waitingForEndOfRequestEntity()
waitingForEndOfRequestEntity in interface SlotState.BusyStatepublic SlotState onRequestEntityCompleted(SlotContext ctx)
SlotStateonRequestEntityCompleted in class SlotStatepublic SlotState onResponseEntitySubscribed(SlotContext ctx)
onResponseEntitySubscribed in class SlotStatepublic SlotState onTimeout(SlotContext ctx)