Class ALPNClientConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.io.NegotiatingClientConnection
org.eclipse.jetty.alpn.client.ALPNClientConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Connection

public class ALPNClientConnection extends org.eclipse.jetty.io.NegotiatingClientConnection
  • Nested Class Summary

    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.eclipse.jetty.util.log.Logger
     
    private final List<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ALPNClientConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ClientConnectionFactory connectionFactory, SSLEngine sslEngine, Map<String,Object> context, List<String> protocols)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    selected(String protocol)
     

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

    close, completed, getSSLEngine, onFillable, onOpen

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

    addListener, failedCallback, fillInterested, getBytesIn, getBytesOut, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, getMessagesIn, getMessagesOut, isFillInterested, onClose, onFillInterestedFailed, onIdleExpired, onReadTimeout, removeListener, setInputBufferSize, toConnectionString, toString, tryFillInterested, tryFillInterested

    Methods inherited from class java.lang.Object

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

    • LOG

      private static final org.eclipse.jetty.util.log.Logger LOG
    • protocols

      private final List<String> protocols
  • Constructor Details

    • ALPNClientConnection

      public ALPNClientConnection(org.eclipse.jetty.io.EndPoint endPoint, Executor executor, org.eclipse.jetty.io.ClientConnectionFactory connectionFactory, SSLEngine sslEngine, Map<String,Object> context, List<String> protocols)
  • Method Details

    • getProtocols

      public List<String> getProtocols()
    • selected

      public void selected(String protocol)