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:
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.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.ListenerNested 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.WrapperNested 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.WrapperNested 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, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
ConstructorsConstructorDescriptionHTTP2ServerSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.http2.parser.ServerParser parser, org.eclipse.jetty.http2.generator.Generator generator, org.eclipse.jetty.http2.api.server.ServerSessionListener listener, org.eclipse.jetty.http2.FlowControlStrategy flowControl) -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.eclipse.jetty.http2.parser.ServerParservoidonFrame(org.eclipse.jetty.http2.frames.Frame frame) voidonHeaders(org.eclipse.jetty.http2.frames.HeadersFrame frame) voidvoidonPushPromise(org.eclipse.jetty.http2.frames.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
dumpSelfMethods 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, onWindowUpdateMethods inherited from interface org.eclipse.jetty.http2.api.Session
newStream
-
Constructor Details
-
HTTP2ServerSession
public HTTP2ServerSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, org.eclipse.jetty.http2.parser.ServerParser parser, org.eclipse.jetty.http2.generator.Generator generator, org.eclipse.jetty.http2.api.server.ServerSessionListener listener, org.eclipse.jetty.http2.FlowControlStrategy flowControl)
-
-
Method Details
-
getParser
public org.eclipse.jetty.http2.parser.ServerParser getParser()- Overrides:
getParserin classorg.eclipse.jetty.http2.HTTP2Session
-
onPreface
public void onPreface()- Specified by:
onPrefacein interfaceorg.eclipse.jetty.http2.parser.ServerParser.Listener
-
onHeaders
public void onHeaders(org.eclipse.jetty.http2.frames.HeadersFrame frame) - Specified by:
onHeadersin interfaceorg.eclipse.jetty.http2.parser.Parser.Listener- Specified by:
onHeadersin classorg.eclipse.jetty.http2.HTTP2Session
-
onPushPromise
public void onPushPromise(org.eclipse.jetty.http2.frames.PushPromiseFrame frame) - Specified by:
onPushPromisein interfaceorg.eclipse.jetty.http2.parser.Parser.Listener
-
onFrame
public void onFrame(org.eclipse.jetty.http2.frames.Frame frame) - Specified by:
onFramein interfaceorg.eclipse.jetty.http2.ISession- Overrides:
onFramein classorg.eclipse.jetty.http2.HTTP2Session
-
directUpgrade
public void directUpgrade() -
standardUpgrade
public void standardUpgrade()
-