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.internal.HTTP2ServerSession
- All Implemented Interfaces:
Session
,Parser.Listener
,ServerParser.Listener
,Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http2.HTTP2Session
HTTP2Session.Entry
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.Parser.Listener
Parser.Listener.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.ServerParser.Listener
ServerParser.Listener.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.Session
Session.Listener
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHTTP2ServerSession
(Scheduler scheduler, EndPoint endPoint, ServerParser parser, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
onHeaders
(HeadersFrame frame) void
void
onPushPromise
(PushPromiseFrame frame) void
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, getLocalSocketAddress, getMaxEncoderTableCapacity, getMaxLocalStreams, getMaxRemoteStreams, getMaxTotalLocalStreams, getRecvWindow, getRemoteAddress, getRemoteSocketAddress, getSendWindow, getStream, getStreamCount, getStreamIdleTimeout, getStreams, getStreamsClosed, getStreamsOpened, getWriteThreshold, goAway, isClientStream, isClosed, isConnectProtocolEnabled, isDisconnected, isLocalStreamClosed, isPushEnabled, isRemoteStreamClosed, newStream, newStream, newStream, newUpgradeStream, notifyClose, notifyFailure, notifyGoAway, notifyIdleTimeout, notifyNewStream, notifyPing, notifyReset, notifySettings, onConnectionFailure, onData, onData, onGoAway, onIdleTimeout, onPing, onPriority, onReset, onResetForUnknownStream, onSettings, onSettings, onShutdown, onStreamFailure, onStreamOpened, onWindowUpdate, onWindowUpdate, onWriteFailure, ping, priority, push, removeStream, setConnectProtocolEnabled, setInitialSessionRecvWindow, setMaxEncoderTableCapacity, setMaxLocalStreams, setMaxRemoteStreams, setMaxTotalLocalStreams, 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, installBean, installBean, 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.DumpableContainer
isDumpable
Methods inherited from interface org.eclipse.jetty.http2.parser.Parser.Listener
onConnectionFailure, onData, onGoAway, onPing, onPriority, onReset, onSettings, onStreamFailure, onWindowUpdate
-
Constructor Details
-
HTTP2ServerSession
public HTTP2ServerSession(Scheduler scheduler, EndPoint endPoint, ServerParser parser, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
-
-
Method Details
-
getParser
- Overrides:
getParser
in classHTTP2Session
-
onPreface
public void onPreface()- Specified by:
onPreface
in interfaceServerParser.Listener
-
onHeaders
- Specified by:
onHeaders
in interfaceParser.Listener
- Specified by:
onHeaders
in classHTTP2Session
-
onPushPromise
- Specified by:
onPushPromise
in interfaceParser.Listener
-
onFrame
- Overrides:
onFrame
in classHTTP2Session
-
directUpgrade
public void directUpgrade() -
standardUpgrade
public void standardUpgrade()
-