Class HTTP2ClientConnectionFactory.HTTP2ClientConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.http2.HTTP2Connection
org.eclipse.jetty.http2.client.HTTP2ClientConnectionFactory.HTTP2ClientConnection
All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Connection, org.eclipse.jetty.io.WriteFlusher.Listener, org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable
Enclosing class:
HTTP2ClientConnectionFactory

private static class HTTP2ClientConnectionFactory.HTTP2ClientConnection extends HTTP2Connection implements org.eclipse.jetty.util.Callback
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.http2.HTTP2Connection

    HTTP2Connection.HTTP2Producer

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

    org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested

    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

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

    org.eclipse.jetty.util.thread.Invocable.InvocationType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final HTTP2Client
     
    private final Session.Listener
     
    private final org.eclipse.jetty.util.Promise<Session>
     

    Fields inherited from class org.eclipse.jetty.http2.HTTP2Connection

    LOG

    Fields inherited from interface org.eclipse.jetty.util.Callback

    NOOP

    Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

    __nonBlocking
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    HTTP2ClientConnection(HTTP2Client client, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.io.EndPoint endpoint, ISession session, int bufferSize, org.eclipse.jetty.util.Promise<Session> promise, Session.Listener listener)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.eclipse.jetty.util.thread.Invocable.InvocationType
     
    void
     
    void
     

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

    addListener, failedCallback, fillInterested, getCreatedTimeStamp, getEndPoint, getExecutor, getInputBufferSize, isFillInterested, onFillInterestedFailed, 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

  • Constructor Details

    • HTTP2ClientConnection

      private HTTP2ClientConnection(HTTP2Client client, org.eclipse.jetty.io.ByteBufferPool byteBufferPool, Executor executor, org.eclipse.jetty.io.EndPoint endpoint, ISession session, int bufferSize, org.eclipse.jetty.util.Promise<Session> promise, Session.Listener listener)
  • Method Details

    • onOpen

      public void onOpen()
      Specified by:
      onOpen in interface org.eclipse.jetty.io.Connection
      Overrides:
      onOpen in class HTTP2Connection
    • succeeded

      public void succeeded()
      Specified by:
      succeeded in interface org.eclipse.jetty.util.Callback
    • failed

      public void failed(Throwable x)
      Specified by:
      failed in interface org.eclipse.jetty.util.Callback
    • getInvocationType

      public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()
      Specified by:
      getInvocationType in interface org.eclipse.jetty.util.thread.Invocable