Class NegotiatingServerConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.server.NegotiatingServerConnection
All Implemented Interfaces:
Closeable, AutoCloseable, Connection, Invocable
Direct Known Subclasses:
ALPNServerConnection

public abstract class NegotiatingServerConnection extends AbstractConnection
  • Constructor Details

  • Method Details

    • getProtocols

      public List<String> getProtocols()
    • getDefaultProtocol

      public String getDefaultProtocol()
    • getConnector

      public Connector getConnector()
    • getSSLEngine

      public SSLEngine getSSLEngine()
    • getProtocol

      public String getProtocol()
    • setProtocol

      protected void setProtocol(String protocol)
    • onOpen

      public void onOpen()
      Description copied from interface: Connection

      Callback method invoked when this connection is opened.

      Creators of the connection implementation are responsible for calling this method.

      Specified by:
      onOpen in interface Connection
      Overrides:
      onOpen in class AbstractConnection
    • onFillable

      public void onFillable()
      Description copied from class: AbstractConnection

      Callback method invoked when the endpoint is ready to be read.

      Specified by:
      onFillable in class AbstractConnection
      See Also:
    • close

      public void close()
      Description copied from interface: Connection

      Performs a logical close of this connection.

      For simple connections, this may just mean to delegate the close to the associated EndPoint but, for example, SSL connections should write the SSL close message before closing the associated EndPoint.

      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface Connection
      Overrides:
      close in class AbstractConnection