Package org.eclipse.jetty.http2.server
Class HTTP2ServerSession
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.http2.HTTP2Session
-
- org.eclipse.jetty.http2.server.HTTP2ServerSession
-
- All Implemented Interfaces:
Session,ISession,Parser.Listener,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.LifeCycle
public class HTTP2ServerSession extends HTTP2Session implements ServerParser.Listener
-
-
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
Parser.Listener.Adapter, Parser.Listener.Wrapper
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.ServerParser.Listener
ServerParser.Listener.Adapter, ServerParser.Listener.Wrapper
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.Session
Session.Listener
-
-
Constructor Summary
Constructors Constructor Description HTTP2ServerSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonFrame(Frame frame)voidonHeaders(HeadersFrame frame)voidonPreface()voidonPushPromise(PushPromiseFrame frame)protected voidonResetForUnknownStream(ResetFrame frame)-
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, onGoAway, onIdleTimeout, onPing, onPriority, onReset, onSettings, onSettings, onShutdown, onStreamClosed, onStreamFailure, onStreamOpened, 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, 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.http2.parser.Parser.Listener
onConnectionFailure, onData, onGoAway, onPing, onPriority, onReset, onSettings, onStreamFailure, onWindowUpdate
-
-
-
-
Constructor Detail
-
HTTP2ServerSession
public HTTP2ServerSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
-
-
Method Detail
-
onPreface
public void onPreface()
- Specified by:
onPrefacein interfaceServerParser.Listener
-
onHeaders
public void onHeaders(HeadersFrame frame)
- Specified by:
onHeadersin interfaceParser.Listener- Specified by:
onHeadersin classHTTP2Session
-
onResetForUnknownStream
protected void onResetForUnknownStream(ResetFrame frame)
- Specified by:
onResetForUnknownStreamin classHTTP2Session
-
onPushPromise
public void onPushPromise(PushPromiseFrame frame)
- Specified by:
onPushPromisein interfaceParser.Listener
-
onFrame
public void onFrame(Frame frame)
- Specified by:
onFramein interfaceISession- Overrides:
onFramein classHTTP2Session
-
-