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 Details

    • CONNECTED

      static final ConnectionObserver.State CONNECTED
      Propagated when a connection has been established and is available
    • CONFIGURED

      static final ConnectionObserver.State CONFIGURED
      Propagated when a connection is bound to a channelOperation and ready for user interaction
    • ACQUIRED

      static final ConnectionObserver.State ACQUIRED
      Propagated when a connection has been reused / acquired (keep-alive or pooling)
    • RELEASED

      static final ConnectionObserver.State RELEASED
      Propagated when a connection has been released but not fully closed (keep-alive or pooling)
    • DISCONNECTING

      static final ConnectionObserver.State DISCONNECTING
      Propagated when a connection is being fully closed