Class SlotState.Connecting
- java.lang.Object
-
- akka.http.impl.engine.client.pool.SlotState
-
- akka.http.impl.engine.client.pool.SlotState.ConnectedState
-
- akka.http.impl.engine.client.pool.SlotState.Connecting
-
- All Implemented Interfaces:
SlotState.BusyState
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- SlotState
public static final class SlotState.Connecting extends SlotState.ConnectedState implements SlotState.BusyState, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
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 Connecting(PoolFlow.RequestContext ongoingRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlotState
onConnectionAttemptSucceeded(SlotContext ctx, Http.OutgoingConnection outgoingConnection)
PoolFlow.RequestContext
ongoingRequest()
boolean
waitingForEndOfRequestEntity()
-
Methods inherited from class akka.http.impl.engine.client.pool.SlotState.ConnectedState
isConnected, onNewConnectionEmbargo
-
Methods inherited from class akka.http.impl.engine.client.pool.SlotState
idle, illegalState, isIdle, name, onConnectionAttemptFailed, onConnectionCompleted, onConnectionFailed, onNewRequest, onPreConnect, onRequestDispatched, onRequestEntityCompleted, onRequestEntityFailed, onResponseDispatchable, onResponseEntityCompleted, onResponseEntityFailed, onResponseEntitySubscribed, onResponseReceived, onShutdown, onTimeout, stateTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.engine.client.pool.SlotState.BusyState
failOngoingRequest, isIdle, onConnectionAttemptFailed, onConnectionCompleted, onConnectionFailed, onRequestEntityFailed, onShutdown
-
-
-
-
Constructor Detail
-
Connecting
public Connecting(PoolFlow.RequestContext ongoingRequest)
-
-
Method Detail
-
ongoingRequest
public PoolFlow.RequestContext ongoingRequest()
- Specified by:
ongoingRequest
in interfaceSlotState.BusyState
-
waitingForEndOfRequestEntity
public boolean waitingForEndOfRequestEntity()
- Specified by:
waitingForEndOfRequestEntity
in interfaceSlotState.BusyState
-
onConnectionAttemptSucceeded
public SlotState onConnectionAttemptSucceeded(SlotContext ctx, Http.OutgoingConnection outgoingConnection)
- Overrides:
onConnectionAttemptSucceeded
in classSlotState
-
-