Class NegotiatingServerConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.io.AbstractConnection.NonBlocking
org.eclipse.jetty.server.NegotiatingServerConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Connection

public abstract class NegotiatingServerConnection extends org.eclipse.jetty.io.AbstractConnection.NonBlocking
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    Nested classes/interfaces inherited from class org.eclipse.jetty.io.AbstractConnection

    org.eclipse.jetty.io.AbstractConnection.NonBlocking

    Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection

    org.eclipse.jetty.io.Connection.Listener, org.eclipse.jetty.io.Connection.Tunnel, org.eclipse.jetty.io.Connection.UpgradeFrom, org.eclipse.jetty.io.Connection.UpgradeTo
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    NegotiatingServerConnection(Connector connector, org.eclipse.jetty.io.EndPoint endPoint, SSLEngine engine, List<String> protocols, String defaultProtocol)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     
     
     
     
    void
     
    void
     
    protected void
    setProtocol(String protocol)
     

    Methods inherited from class org.eclipse.jetty.io.AbstractConnection.NonBlocking

    fillInterested

    Methods inherited from class org.eclipse.jetty.io.AbstractConnection

    addEventListener, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NegotiatingServerConnection

      protected NegotiatingServerConnection(Connector connector, org.eclipse.jetty.io.EndPoint endPoint, SSLEngine engine, List<String> protocols, String defaultProtocol)
  • 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()
      Specified by:
      onOpen in interface org.eclipse.jetty.io.Connection
      Overrides:
      onOpen in class org.eclipse.jetty.io.AbstractConnection
    • onFillable

      public void onFillable()
      Specified by:
      onFillable in class org.eclipse.jetty.io.AbstractConnection
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.eclipse.jetty.io.Connection
      Overrides:
      close in class org.eclipse.jetty.io.AbstractConnection