Class HTTP3SessionClient
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.http3.internal.HTTP3Session
org.eclipse.jetty.http3.client.internal.HTTP3SessionClient
- All Implemented Interfaces:
org.eclipse.jetty.http3.api.Session,org.eclipse.jetty.http3.api.Session.Client,org.eclipse.jetty.http3.internal.parser.ParserListener,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 HTTP3SessionClient
extends org.eclipse.jetty.http3.internal.HTTP3Session
implements org.eclipse.jetty.http3.api.Session.Client
-
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.http3.internal.parser.ParserListener
org.eclipse.jetty.http3.internal.parser.ParserListener.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Session
org.eclipse.jetty.http3.api.Session.Client, org.eclipse.jetty.http3.api.Session.Listener, org.eclipse.jetty.http3.api.Session.ServerNested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Session.Client
org.eclipse.jetty.http3.api.Session.Client.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
ConstructorsConstructorDescriptionHTTP3SessionClient(ClientHTTP3Session session, org.eclipse.jetty.http3.api.Session.Client.Listener listener, org.eclipse.jetty.util.Promise<org.eclipse.jetty.http3.api.Session.Client> promise) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.jetty.http3.frames.GoAwayFramenewGoAwayFrame(boolean graceful) protected HTTP3StreamClientnewHTTP3Stream(org.eclipse.jetty.quic.common.QuicStreamEndPoint endPoint, boolean local) CompletableFuture<org.eclipse.jetty.http3.api.Stream>newRequest(org.eclipse.jetty.http3.frames.HeadersFrame frame, org.eclipse.jetty.http3.api.Stream.Client.Listener listener) voidonHeaders(long streamId, org.eclipse.jetty.http3.frames.HeadersFrame frame, boolean wasBlocked) voidonOpen()voidonSettings(org.eclipse.jetty.http3.frames.SettingsFrame frame) voidwriteControlFrame(org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback) voidwriteMessageFrame(long streamId, org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback) Methods inherited from class org.eclipse.jetty.http3.internal.HTTP3Session
createStream, dump, getIdleTimeout, getListener, getLocalSocketAddress, getMaxLocalStreams, getOrCreateStream, getRemoteSocketAddress, getStream, getStreamIdleTimeout, getStreams, goAway, inwardClose, isClosed, onClose, onData, onDataAvailable, onGoAway, onIdleTimeout, onPreface, onSessionFailure, onStreamFailure, removeStream, setStreamIdleTimeout, shutdown, toStringMethods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, 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.http3.api.Session
getLocalSocketAddress, getRemoteSocketAddress, getStreams, goAway
-
Constructor Details
-
HTTP3SessionClient
public HTTP3SessionClient(ClientHTTP3Session session, org.eclipse.jetty.http3.api.Session.Client.Listener listener, org.eclipse.jetty.util.Promise<org.eclipse.jetty.http3.api.Session.Client> promise)
-
-
Method Details
-
getProtocolSession
- Overrides:
getProtocolSessionin classorg.eclipse.jetty.http3.internal.HTTP3Session
-
onOpen
public void onOpen()- Overrides:
onOpenin classorg.eclipse.jetty.http3.internal.HTTP3Session
-
newHTTP3Stream
protected HTTP3StreamClient newHTTP3Stream(org.eclipse.jetty.quic.common.QuicStreamEndPoint endPoint, boolean local) - Specified by:
newHTTP3Streamin classorg.eclipse.jetty.http3.internal.HTTP3Session
-
onHeaders
public void onHeaders(long streamId, org.eclipse.jetty.http3.frames.HeadersFrame frame, boolean wasBlocked) - Specified by:
onHeadersin interfaceorg.eclipse.jetty.http3.internal.parser.ParserListener- Overrides:
onHeadersin classorg.eclipse.jetty.http3.internal.HTTP3Session
-
onSettings
public void onSettings(org.eclipse.jetty.http3.frames.SettingsFrame frame) - Specified by:
onSettingsin interfaceorg.eclipse.jetty.http3.internal.parser.ParserListener- Overrides:
onSettingsin classorg.eclipse.jetty.http3.internal.HTTP3Session
-
newRequest
public CompletableFuture<org.eclipse.jetty.http3.api.Stream> newRequest(org.eclipse.jetty.http3.frames.HeadersFrame frame, org.eclipse.jetty.http3.api.Stream.Client.Listener listener) - Specified by:
newRequestin interfaceorg.eclipse.jetty.http3.api.Session.Client
-
writeControlFrame
public void writeControlFrame(org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback) - Specified by:
writeControlFramein classorg.eclipse.jetty.http3.internal.HTTP3Session
-
writeMessageFrame
public void writeMessageFrame(long streamId, org.eclipse.jetty.http3.frames.Frame frame, org.eclipse.jetty.util.Callback callback) - Specified by:
writeMessageFramein classorg.eclipse.jetty.http3.internal.HTTP3Session
-
newGoAwayFrame
protected org.eclipse.jetty.http3.frames.GoAwayFrame newGoAwayFrame(boolean graceful) - Overrides:
newGoAwayFramein classorg.eclipse.jetty.http3.internal.HTTP3Session
-