Class HTTP2ServerSession

  • All Implemented Interfaces:
    org.eclipse.jetty.http2.api.Session, org.eclipse.jetty.http2.ISession, org.eclipse.jetty.http2.parser.Parser.Listener, org.eclipse.jetty.http2.parser.ServerParser.Listener, 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 HTTP2ServerSession
    extends org.eclipse.jetty.http2.HTTP2Session
    implements org.eclipse.jetty.http2.parser.ServerParser.Listener
    • 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.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.parser.ServerParser.Listener

        org.eclipse.jetty.http2.parser.ServerParser.Listener.Adapter, org.eclipse.jetty.http2.parser.ServerParser.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, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      HTTP2ServerSession​(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.server.ServerSessionListener listener, org.eclipse.jetty.http2.FlowControlStrategy flowControl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onFrame​(org.eclipse.jetty.http2.frames.Frame frame)  
      void onHeaders​(org.eclipse.jetty.http2.frames.HeadersFrame frame)  
      void onPreface()  
      void onPushPromise​(org.eclipse.jetty.http2.frames.PushPromiseFrame frame)  
      • Methods inherited from class org.eclipse.jetty.http2.HTTP2Session

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

        addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, 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.http2.parser.Parser.Listener

        onConnectionFailure, onData, onGoAway, onPing, onPriority, onReset, onSettings, onStreamFailure, onWindowUpdate
      • Methods inherited from interface org.eclipse.jetty.http2.api.Session

        newStream
    • Constructor Detail

      • HTTP2ServerSession

        public HTTP2ServerSession​(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.server.ServerSessionListener listener,
                                  org.eclipse.jetty.http2.FlowControlStrategy flowControl)
    • Method Detail

      • onPreface

        public void onPreface()
        Specified by:
        onPreface in interface org.eclipse.jetty.http2.parser.ServerParser.Listener
      • 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
      • onPushPromise

        public void onPushPromise​(org.eclipse.jetty.http2.frames.PushPromiseFrame frame)
        Specified by:
        onPushPromise in interface org.eclipse.jetty.http2.parser.Parser.Listener
      • onFrame

        public void onFrame​(org.eclipse.jetty.http2.frames.Frame frame)
        Specified by:
        onFrame in interface org.eclipse.jetty.http2.ISession
        Overrides:
        onFrame in class org.eclipse.jetty.http2.HTTP2Session