Interface ServerConnection

All Known Implementing Classes:
Http1Connection, Http2Connection, WsConnection

public interface ServerConnection
Server connection abstraction, used by any provider to handle a socket connection.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(boolean interrupt)
    Close a connection.
    default void
    handle(Limit limit)
    Start handling the connection.
    default void
    handle(Semaphore requestSemaphore)
    Deprecated, for removal: This API element is subject to removal in a future version.
    How long is this connection idle.