Class NegotiatingServerConnection

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.eclipse.jetty.io.Connection

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

      Nested Classes 
      Modifier and Type Class Description
      static interface  NegotiatingServerConnection.CipherDiscriminator  
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Connection

        org.eclipse.jetty.io.Connection.Listener, 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, javax.net.ssl.SSLEngine engine, java.util.List<java.lang.String> protocols, java.lang.String defaultProtocol)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      Connector getConnector()  
      java.lang.String getDefaultProtocol()  
      java.lang.String getProtocol()  
      java.util.List<java.lang.String> getProtocols()  
      javax.net.ssl.SSLEngine getSSLEngine()  
      void onFillable()  
      void onOpen()  
      protected void setProtocol​(java.lang.String protocol)  
      • Methods inherited from class org.eclipse.jetty.io.AbstractConnection

        addEventListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeEventListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested
      • Methods inherited from class java.lang.Object

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

      • NegotiatingServerConnection

        protected NegotiatingServerConnection​(Connector connector,
                                              org.eclipse.jetty.io.EndPoint endPoint,
                                              javax.net.ssl.SSLEngine engine,
                                              java.util.List<java.lang.String> protocols,
                                              java.lang.String defaultProtocol)
    • Method Detail

      • getProtocols

        public java.util.List<java.lang.String> getProtocols()
      • getDefaultProtocol

        public java.lang.String getDefaultProtocol()
      • getConnector

        public Connector getConnector()
      • getSSLEngine

        public javax.net.ssl.SSLEngine getSSLEngine()
      • getProtocol

        public java.lang.String getProtocol()
      • setProtocol

        protected void setProtocol​(java.lang.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 java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface org.eclipse.jetty.io.Connection
        Overrides:
        close in class org.eclipse.jetty.io.AbstractConnection