Class HTTP2ClientSession

  • All Implemented Interfaces:
    org.eclipse.jetty.http2.api.Session, org.eclipse.jetty.http2.ISession, org.eclipse.jetty.http2.parser.Parser.Listener, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.LifeCycle

    public class HTTP2ClientSession
    extends org.eclipse.jetty.http2.HTTP2Session
    • Nested Class Summary

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

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • 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.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.Parser.Listener

        org.eclipse.jetty.http2.parser.Parser.Listener.Adapter, org.eclipse.jetty.http2.parser.Parser.Listener.Wrapper
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.Session

        org.eclipse.jetty.http2.api.Session.Listener
    • Field Summary

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

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      HTTP2ClientSession​(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.http2.generator.Generator generator, org.eclipse.jetty.http2.api.Session.Listener listener, org.eclipse.jetty.http2.FlowControlStrategy flowControl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getStreamsClosed()  
      long getStreamsOpened()  
      void onHeaders​(org.eclipse.jetty.http2.frames.HeadersFrame frame)  
      void onPushPromise​(org.eclipse.jetty.http2.frames.PushPromiseFrame frame)  
      protected void onResetForUnknownStream​(org.eclipse.jetty.http2.frames.ResetFrame frame)  
      protected void onStreamClosed​(org.eclipse.jetty.http2.IStream stream)  
      protected void onStreamOpened​(org.eclipse.jetty.http2.IStream stream)  
      • Methods inherited from class org.eclipse.jetty.http2.HTTP2Session

        abort, close, createLocalStream, createRemoteStream, data, disconnect, doStop, dump, frames, getBytesWritten, getEndPoint, getFlowControlStrategy, getGenerator, getInitialSessionRecvWindow, getLastRemoteStreamId, getMaxLocalStreams, getMaxRemoteStreams, getRecvWindow, getSendWindow, getStream, getStreamCount, getStreamIdleTimeout, getStreams, getWriteThreshold, isClientStream, isClosed, isDisconnected, isLocalStreamClosed, isPushEnabled, isRemoteStreamClosed, newStream, newStream, notifyClose, notifyFailure, notifyHeaders, notifyIdleTimeout, notifyNewStream, notifyPing, notifyReset, notifySettings, onConnectionFailure, onConnectionFailure, onData, onData, onFlushed, onFrame, onGoAway, onIdleTimeout, onPing, onPriority, onReset, onSettings, onSettings, onShutdown, onStreamFailure, onWindowUpdate, onWindowUpdate, ping, priority, push, removeStream, reset, setInitialSessionRecvWindow, setMaxLocalStreams, setMaxRemoteStreams, setStreamIdleTimeout, settings, setWriteThreshold, toString, updateRecvWindow, updateSendWindow
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, 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.Dumpable

        dumpSelf
    • Constructor Detail

      • HTTP2ClientSession

        public HTTP2ClientSession​(org.eclipse.jetty.util.thread.Scheduler scheduler,
                                  org.eclipse.jetty.io.EndPoint endPoint,
                                  org.eclipse.jetty.http2.generator.Generator generator,
                                  org.eclipse.jetty.http2.api.Session.Listener listener,
                                  org.eclipse.jetty.http2.FlowControlStrategy flowControl)
    • Method Detail

      • onStreamOpened

        protected void onStreamOpened​(org.eclipse.jetty.http2.IStream stream)
        Overrides:
        onStreamOpened in class org.eclipse.jetty.http2.HTTP2Session
      • onStreamClosed

        protected void onStreamClosed​(org.eclipse.jetty.http2.IStream stream)
        Overrides:
        onStreamClosed in class org.eclipse.jetty.http2.HTTP2Session
      • getStreamsOpened

        public long getStreamsOpened()
      • getStreamsClosed

        public long getStreamsClosed()
      • onHeaders

        public void onHeaders​(org.eclipse.jetty.http2.frames.HeadersFrame frame)
        Specified by:
        onHeaders in interface org.eclipse.jetty.http2.parser.Parser.Listener
        Specified by:
        onHeaders in class org.eclipse.jetty.http2.HTTP2Session
      • onResetForUnknownStream

        protected void onResetForUnknownStream​(org.eclipse.jetty.http2.frames.ResetFrame frame)
        Specified by:
        onResetForUnknownStream in class org.eclipse.jetty.http2.HTTP2Session
      • onPushPromise

        public void onPushPromise​(org.eclipse.jetty.http2.frames.PushPromiseFrame frame)