Class SlotState.WaitingForResponseDispatch
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.WaitingForResponseDispatch
- All Implemented Interfaces:
- Serializable,- SlotState.BusyState,- SlotState.BusyWithResultAlreadyDetermined,- scala.Equals,- scala.Product
- Enclosing class:
- SlotState
public static final class SlotState.WaitingForResponseDispatch
extends SlotState.ConnectedState
implements SlotState.BusyWithResultAlreadyDetermined, scala.Product, Serializable
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotStateSlotState.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 SummaryConstructorsConstructorDescriptionWaitingForResponseDispatch(PoolFlow.RequestContext ongoingRequest, scala.util.Try<HttpResponse> result, boolean waitingForEndOfRequestEntity) 
- 
Method SummaryModifier and TypeMethodDescriptionWill be called either immediately if the request entity is strict or otherwise laterCalled when the response out port is ready to receive a further response (successful or failed)scala.util.Try<HttpResponse>result()booleanMethods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotState.ConnectedStateisConnected, onNewConnectionEmbargoMethods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotStateidle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityFailed, onResponseEntityCompleted, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdown, onTimeout, stateTimeoutMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.engine.client.pool.SlotState.BusyStatefailOngoingRequest, isIdle, onConnectionAttemptFailed, onShutdownMethods inherited from interface org.apache.pekko.http.impl.engine.client.pool.SlotState.BusyWithResultAlreadyDeterminedonConnectionCompleted, onConnectionFailed, onRequestEntityFailed, onResponseEntityFailed
- 
Constructor Details- 
WaitingForResponseDispatchpublic WaitingForResponseDispatch(PoolFlow.RequestContext ongoingRequest, scala.util.Try<HttpResponse> result, boolean waitingForEndOfRequestEntity) 
 
- 
- 
Method Details- 
ongoingRequest- Specified by:
- ongoingRequestin interface- SlotState.BusyState
 
- 
result
- 
waitingForEndOfRequestEntitypublic boolean waitingForEndOfRequestEntity()- Specified by:
- waitingForEndOfRequestEntityin interface- SlotState.BusyState
 
- 
onRequestEntityCompletedDescription copied from class:SlotStateWill be called either immediately if the request entity is strict or otherwise later- Overrides:
- onRequestEntityCompletedin class- SlotState
 
- 
onResponseDispatchableCalled when the response out port is ready to receive a further response (successful or failed)- Overrides:
- onResponseDispatchablein class- SlotState
 
 
-