Package reactor.netty
Interface ConnectionObserver.State
- All Known Implementing Classes:
HttpClientState
,HttpServerState
- Enclosing interface:
- ConnectionObserver
public static interface ConnectionObserver.State
A marker interface for various state signals used in
ConnectionObserver.onStateChange(Connection, State)
Specific protocol might implement more state type for instance request/response lifecycle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConnectionObserver.State
Propagated when a connection has been reused / acquired (keep-alive or pooling)static final ConnectionObserver.State
Propagated when a connection is bound to a channelOperation and ready for user interactionstatic final ConnectionObserver.State
Propagated when a connection has been established and is availablestatic final ConnectionObserver.State
Propagated when a connection is being fully closedstatic final ConnectionObserver.State
Propagated when a connection has been released but not fully closed (keep-alive or pooling)
-
Field Details
-
CONNECTED
Propagated when a connection has been established and is available -
CONFIGURED
Propagated when a connection is bound to a channelOperation and ready for user interaction -
ACQUIRED
Propagated when a connection has been reused / acquired (keep-alive or pooling) -
RELEASED
Propagated when a connection has been released but not fully closed (keep-alive or pooling) -
DISCONNECTING
Propagated when a connection is being fully closed
-