java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.http3.internal.HTTP3Session
org.eclipse.jetty.http3.client.internal.HTTP3SessionClient
All Implemented Interfaces:
org.eclipse.jetty.http3.api.Session, org.eclipse.jetty.http3.api.Session.Client, org.eclipse.jetty.http3.internal.parser.ParserListener, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle

public class HTTP3SessionClient extends org.eclipse.jetty.http3.internal.HTTP3Session implements org.eclipse.jetty.http3.api.Session.Client
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException

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

    org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener

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

    org.eclipse.jetty.util.component.Dumpable.DumpableContainer

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

    org.eclipse.jetty.util.component.LifeCycle.Listener

    Nested classes/interfaces inherited from interface org.eclipse.jetty.http3.internal.parser.ParserListener

    org.eclipse.jetty.http3.internal.parser.ParserListener.Wrapper

    Nested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Session

    org.eclipse.jetty.http3.api.Session.Client, org.eclipse.jetty.http3.api.Session.Listener, org.eclipse.jetty.http3.api.Session.Server

    Nested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Session.Client

    org.eclipse.jetty.http3.api.Session.Client.Listener
  • Field Summary

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, STARTED, STARTING, STOPPED, STOPPING

    Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

    KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    HTTP3SessionClient(ClientHTTP3Session session, org.eclipse.jetty.http3.api.Session.Client.Listener listener, org.eclipse.jetty.util.Promise<org.eclipse.jetty.http3.api.Session.Client> promise)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    protected org.eclipse.jetty.http3.frames.GoAwayFrame
    newGoAwayFrame(boolean graceful)
     
    newHTTP3Stream(org.eclipse.jetty.quic.common.QuicStreamEndPoint endPoint, boolean local)
     
    CompletableFuture<org.eclipse.jetty.http3.api.Stream>
    newRequest(org.eclipse.jetty.http3.frames.HeadersFrame frame, org.eclipse.jetty.http3.api.Stream.Client.Listener listener)
     
    void
    onHeaders(long streamId, org.eclipse.jetty.http3.frames.HeadersFrame frame, boolean wasBlocked)
     
    void
     
    void
    onSettings(org.eclipse.jetty.http3.frames.SettingsFrame frame)
     
    void
    writeControlFrame(org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback)
     
    void
    writeMessageFrame(long streamId, org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback)
     

    Methods inherited from class org.eclipse.jetty.http3.internal.HTTP3Session

    createStream, dump, getIdleTimeout, getListener, getLocalSocketAddress, getMaxLocalStreams, getOrCreateStream, getRemoteSocketAddress, getStream, getStreamIdleTimeout, getStreams, goAway, inwardClose, isClosed, onClose, onData, onDataAvailable, onGoAway, onIdleTimeout, onPreface, onSessionFailure, onStreamFailure, removeStream, setStreamIdleTimeout, shutdown, toString

    Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

    addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.Container

    getCachedBeans, getEventListeners

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

    dumpSelf

    Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer

    isDumpable

    Methods inherited from interface org.eclipse.jetty.http3.api.Session

    getLocalSocketAddress, getRemoteSocketAddress, getStreams, goAway
  • Constructor Details

    • HTTP3SessionClient

      public HTTP3SessionClient(ClientHTTP3Session session, org.eclipse.jetty.http3.api.Session.Client.Listener listener, org.eclipse.jetty.util.Promise<org.eclipse.jetty.http3.api.Session.Client> promise)
  • Method Details

    • getProtocolSession

      public ClientHTTP3Session getProtocolSession()
      Overrides:
      getProtocolSession in class org.eclipse.jetty.http3.internal.HTTP3Session
    • onOpen

      public void onOpen()
      Overrides:
      onOpen in class org.eclipse.jetty.http3.internal.HTTP3Session
    • newHTTP3Stream

      protected HTTP3StreamClient newHTTP3Stream(org.eclipse.jetty.quic.common.QuicStreamEndPoint endPoint, boolean local)
      Specified by:
      newHTTP3Stream in class org.eclipse.jetty.http3.internal.HTTP3Session
    • onHeaders

      public void onHeaders(long streamId, org.eclipse.jetty.http3.frames.HeadersFrame frame, boolean wasBlocked)
      Specified by:
      onHeaders in interface org.eclipse.jetty.http3.internal.parser.ParserListener
      Overrides:
      onHeaders in class org.eclipse.jetty.http3.internal.HTTP3Session
    • onSettings

      public void onSettings(org.eclipse.jetty.http3.frames.SettingsFrame frame)
      Specified by:
      onSettings in interface org.eclipse.jetty.http3.internal.parser.ParserListener
      Overrides:
      onSettings in class org.eclipse.jetty.http3.internal.HTTP3Session
    • newRequest

      public CompletableFuture<org.eclipse.jetty.http3.api.Stream> newRequest(org.eclipse.jetty.http3.frames.HeadersFrame frame, org.eclipse.jetty.http3.api.Stream.Client.Listener listener)
      Specified by:
      newRequest in interface org.eclipse.jetty.http3.api.Session.Client
    • writeControlFrame

      public void writeControlFrame(org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback)
      Specified by:
      writeControlFrame in class org.eclipse.jetty.http3.internal.HTTP3Session
    • writeMessageFrame

      public void writeMessageFrame(long streamId, org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback)
      Specified by:
      writeMessageFrame in class org.eclipse.jetty.http3.internal.HTTP3Session
    • newGoAwayFrame

      protected org.eclipse.jetty.http3.frames.GoAwayFrame newGoAwayFrame(boolean graceful)
      Overrides:
      newGoAwayFrame in class org.eclipse.jetty.http3.internal.HTTP3Session