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
,Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
public class HTTP2ServerSession extends HTTP2Session implements ServerParser.Listener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
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.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(Scheduler scheduler, EndPoint endPoint, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
Deprecated.HTTP2ServerSession(Scheduler scheduler, EndPoint endPoint, Parser parser, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFrame(Frame frame)
Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests to process the given synthetic frame.void
onHeaders(HeadersFrame frame)
void
onPreface()
void
onPushPromise(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, getMaxEncoderTableCapacity, getMaxLocalStreams, getMaxRemoteStreams, getParser, getRecvWindow, getSendWindow, getStream, getStreamCount, getStreamIdleTimeout, getStreams, getStreamsClosed, getStreamsOpened, getWriteThreshold, goAway, isClientStream, isClosed, isDisconnected, isLocalStreamClosed, isPushEnabled, isRemoteStreamClosed, newStream, newStream, newStream, 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, setInitialSessionRecvWindow, setMaxEncoderTableCapacity, setMaxLocalStreams, setMaxRemoteStreams, setStreamIdleTimeout, settings, setWriteThreshold, toString, updateLastRemoteStreamId, 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.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 Detail
-
HTTP2ServerSession
@Deprecated public HTTP2ServerSession(Scheduler scheduler, EndPoint endPoint, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
Deprecated.
-
HTTP2ServerSession
public HTTP2ServerSession(Scheduler scheduler, EndPoint endPoint, Parser parser, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl)
-
-
Method Detail
-
onPreface
public void onPreface()
- Specified by:
onPreface
in interfaceServerParser.Listener
-
onHeaders
public void onHeaders(HeadersFrame frame)
- Specified by:
onHeaders
in interfaceParser.Listener
- Specified by:
onHeaders
in classHTTP2Session
-
onPushPromise
public void onPushPromise(PushPromiseFrame frame)
- Specified by:
onPushPromise
in interfaceParser.Listener
-
onFrame
public void onFrame(Frame frame)
Description copied from interface:ISession
Callback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests to process the given synthetic frame.
- Specified by:
onFrame
in interfaceISession
- Overrides:
onFrame
in classHTTP2Session
- Parameters:
frame
- the synthetic frame to process
-
-