Class SlotState.ConnectedState
java.lang.Object
org.apache.pekko.http.impl.engine.client.pool.SlotState
org.apache.pekko.http.impl.engine.client.pool.SlotState.ConnectedState
- All Implemented Interfaces:
- scala.Equals,- scala.Product
- Direct Known Subclasses:
- SlotState.Connecting,- SlotState.Idle,- SlotState.PreConnecting$,- SlotState.PushingRequestToConnection,- SlotState.WaitingForEndOfRequestEntity$,- SlotState.WaitingForEndOfResponseEntity,- SlotState.WaitingForResponse,- SlotState.WaitingForResponseDispatch,- SlotState.WaitingForResponseEntitySubscription
- Enclosing class:
- SlotState
- 
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanonNewConnectionEmbargo(SlotContext ctx, scala.concurrent.duration.FiniteDuration embargoDuration) Methods inherited from class org.apache.pekko.http.impl.engine.client.pool.SlotStateidle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, 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, productPrefix
- 
Constructor Details- 
ConnectedStatepublic ConnectedState()
 
- 
- 
Method Details- 
isConnectedpublic boolean isConnected()- Specified by:
- isConnectedin class- SlotState
 
- 
onNewConnectionEmbargopublic SlotState onNewConnectionEmbargo(SlotContext ctx, scala.concurrent.duration.FiniteDuration embargoDuration) - Overrides:
- onNewConnectionEmbargoin class- SlotState
 
 
-