Class SlotState.WaitingForResponseEntitySubscription
java.lang.Object
org.apache.pekko.http.impl.engine.client.pool.SlotState
org.apache.pekko.http.impl.engine.client.pool.SlotState.ConnectedState
org.apache.pekko.http.impl.engine.client.pool.SlotState.WaitingForResponseEntitySubscription
- All Implemented Interfaces:
Serializable,SlotState.BusyState,SlotState.BusyWithResultAlreadyDetermined,scala.Equals,scala.Product
- Enclosing class:
- SlotState
public static final class SlotState.WaitingForResponseEntitySubscription
extends SlotState.ConnectedState
implements SlotState.BusyWithResultAlreadyDetermined, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotState
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 Summary
ConstructorsConstructorDescriptionWaitingForResponseEntitySubscription(PoolFlow.RequestContext ongoingRequest, HttpResponse ongoingResponse, scala.concurrent.duration.Duration stateTimeout, boolean waitingForEndOfRequestEntity) -
Method Summary
Modifier and TypeMethodDescriptionWill be called either immediately if the request entity is strict or otherwise lateronTimeout(SlotContext ctx) scala.concurrent.duration.DurationA slot can define a timeout for that state after which onTimeout will be called.booleanMethods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotState.ConnectedState
isConnected, onNewConnectionEmbargoMethods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotState
idle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseReceived, onShutdownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.engine.client.pool.SlotState.BusyState
failOngoingRequest, isIdle, onConnectionAttemptFailed, onShutdownMethods inherited from interface org.apache.pekko.http.impl.engine.client.pool.SlotState.BusyWithResultAlreadyDetermined
onConnectionCompleted, onConnectionFailed, onRequestEntityFailed, onResponseEntityFailed
-
Constructor Details
-
WaitingForResponseEntitySubscription
public WaitingForResponseEntitySubscription(PoolFlow.RequestContext ongoingRequest, HttpResponse ongoingResponse, scala.concurrent.duration.Duration stateTimeout, boolean waitingForEndOfRequestEntity)
-
-
Method Details
-
ongoingRequest
- Specified by:
ongoingRequestin interfaceSlotState.BusyState
-
ongoingResponse
-
stateTimeout
public scala.concurrent.duration.Duration stateTimeout()Description copied from class:SlotStateA slot can define a timeout for that state after which onTimeout will be called.- Overrides:
stateTimeoutin classSlotState
-
waitingForEndOfRequestEntity
public boolean waitingForEndOfRequestEntity()- Specified by:
waitingForEndOfRequestEntityin interfaceSlotState.BusyState
-
onRequestEntityCompleted
Description copied from class:SlotStateWill be called either immediately if the request entity is strict or otherwise later- Overrides:
onRequestEntityCompletedin classSlotState
-
onResponseEntitySubscribed
- Overrides:
onResponseEntitySubscribedin classSlotState
-
onTimeout
-