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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.Parser.Listener
Parser.Listener.Adapter, Parser.Listener.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.http2.parser.ServerParser.Listener
ServerParser.Listener.Adapter, ServerParser.Listener.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.http2.api.Session
Session.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHTTP2ServerSession(Scheduler scheduler, EndPoint endPoint, ServerParser parser, Generator generator, ServerSessionListener listener, FlowControlStrategy flowControl) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidCallback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests to process the given synthetic frame.voidonHeaders(HeadersFrame frame) voidvoidonPushPromise(PushPromiseFrame frame) voidMethods 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, 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, 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, setMaxEncoderTableCapacity, setMaxLocalStreams, setMaxRemoteStreams, setStreamIdleTimeout, settings, setWriteThreshold, shutdown, toString, updateLastRemoteStreamId, updateRecvWindow, updateSendWindowMethods 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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListenersMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpableMethods 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:
getParserin classHTTP2Session
-
onPreface
public void onPreface()- Specified by:
onPrefacein interfaceServerParser.Listener
-
onHeaders
- Specified by:
onHeadersin interfaceParser.Listener- Specified by:
onHeadersin classHTTP2Session
-
onPushPromise
- Specified by:
onPushPromisein interfaceParser.Listener
-
onFrame
Description copied from interface:ISessionCallback method invoked during an HTTP/1.1 to HTTP/2 upgrade requests to process the given synthetic frame.
- Specified by:
onFramein interfaceISession- Overrides:
onFramein classHTTP2Session- Parameters:
frame- the synthetic frame to process
-
directUpgrade
public void directUpgrade() -
standardUpgrade
public void standardUpgrade()
-