Package org.eclipse.jetty.http2.client
Class HTTP2ClientSession
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.http2.HTTP2Session
-
- org.eclipse.jetty.http2.client.HTTP2ClientSession
-
- All Implemented Interfaces:
Session
,ISession
,Parser.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 HTTP2ClientSession extends HTTP2Session
-
-
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.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer
-
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.api.Session
Session.Listener
-
-
Field Summary
Fields Modifier and Type Field Description private static org.eclipse.jetty.util.log.Logger
LOG
-
Constructor Summary
Constructors Constructor Description HTTP2ClientSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, Generator generator, Session.Listener listener, FlowControlStrategy flowControl)
Deprecated.HTTP2ClientSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, Parser parser, Generator generator, Session.Listener listener, FlowControlStrategy flowControl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Stream.Listener
notifyPush(IStream stream, IStream pushStream, PushPromiseFrame frame)
void
onHeaders(HeadersFrame frame)
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, onFrame, 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
-
-
-
-
Constructor Detail
-
HTTP2ClientSession
@Deprecated public HTTP2ClientSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, Generator generator, Session.Listener listener, FlowControlStrategy flowControl)
Deprecated.
-
HTTP2ClientSession
public HTTP2ClientSession(org.eclipse.jetty.util.thread.Scheduler scheduler, org.eclipse.jetty.io.EndPoint endPoint, Parser parser, Generator generator, Session.Listener listener, FlowControlStrategy flowControl)
-
-
Method Detail
-
onHeaders
public void onHeaders(HeadersFrame frame)
- Specified by:
onHeaders
in interfaceParser.Listener
- Specified by:
onHeaders
in classHTTP2Session
-
onPushPromise
public void onPushPromise(PushPromiseFrame frame)
-
notifyPush
private Stream.Listener notifyPush(IStream stream, IStream pushStream, PushPromiseFrame frame)
-
-