Class SlotState.ShouldCloseConnectionState
- java.lang.Object
-
- akka.http.impl.engine.client.pool.SlotState
-
- akka.http.impl.engine.client.pool.SlotState.ShouldCloseConnectionState
-
- All Implemented Interfaces:
scala.Equals
,scala.Product
- Direct Known Subclasses:
SlotState.Failed
,SlotState.ToBeClosed$
- Enclosing class:
- SlotState
public abstract static class SlotState.ShouldCloseConnectionState extends SlotState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.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
Constructors Constructor Description ShouldCloseConnectionState(scala.Option<java.lang.Throwable> failure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Option<java.lang.Throwable>
failure()
boolean
isConnected()
boolean
isIdle()
-
Methods inherited from class akka.http.impl.engine.client.pool.SlotState
idle, illegalState, name, onConnectionAttemptFailed, onConnectionAttemptSucceeded, onConnectionCompleted, onConnectionFailed, onNewConnectionEmbargo, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdown, onTimeout, stateTimeout
-
-
-
-
Method Detail
-
failure
public scala.Option<java.lang.Throwable> failure()
-
isConnected
public boolean isConnected()
- Specified by:
isConnected
in classSlotState
-
-