Package org.eclipse.jetty.http3.client
Class HTTP3SessionClient
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.http3.HTTP3Session
org.eclipse.jetty.http3.client.HTTP3SessionClient
- All Implemented Interfaces:
Session,Session.Client,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.DumpableContainer, Dumpable.DumpAppendableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Session
Session.Client, Session.Listener, Session.ServerNested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Session.Client
Session.Client.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionHTTP3SessionClient(Scheduler scheduler, ProtocolSession session, Session.Client.Listener listener, Promise.Invocable<Session.Client> promise) -
Method Summary
Modifier and TypeMethodDescriptionprotected GoAwayFramenewGoAwayFrame(boolean graceful) protected HTTP3StreamnewHTTP3Stream(StreamEndPoint endPoint, boolean local) voidnewRequest(HeadersFrame frame, Stream.Client.Listener listener, Promise.Invocable<Stream> promise) Makes a request by creating an HTTP/3 stream and sending the given HEADERS frame.protected voidonHeaders(long streamId, HeadersFrame frame, boolean wasBlocked) voidonOpen()voidonSettings(SettingsFrame frame) voidwriteControlFrame(Frame frame, Callback callback) voidwriteMessageFrame(StreamEndPoint streamEndPoint, Frame frame, Callback callback) Methods inherited from class org.eclipse.jetty.http3.HTTP3Session
close, createStream, dump, getIdleTimeout, getListener, getLocalSocketAddress, getMaxLocalStreams, getParserListener, getProtocolSession, getRemoteSocketAddress, getStream, getStreamIdleTimeout, getStreams, goAway, isClosed, onClose, onData, onGoAway, onIdleTimeout, onPreface, onSessionFailure, onStreamFailure, 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, installBean, installBean, 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.http3.api.Session
getLocalSocketAddress, getRemoteSocketAddress, getStreams, goAway
-
Constructor Details
-
HTTP3SessionClient
public HTTP3SessionClient(Scheduler scheduler, ProtocolSession session, Session.Client.Listener listener, Promise.Invocable<Session.Client> promise)
-
-
Method Details
-
getQpackEncoder
-
getQpackDecoder
-
onOpen
public void onOpen()- Overrides:
onOpenin classHTTP3Session
-
newHTTP3Stream
- Specified by:
newHTTP3Streamin classHTTP3Session
-
onHeaders
- Overrides:
onHeadersin classHTTP3Session
-
onSettings
- Overrides:
onSettingsin classHTTP3Session
-
newRequest
public void newRequest(HeadersFrame frame, Stream.Client.Listener listener, Promise.Invocable<Stream> promise) Description copied from interface:Session.ClientMakes a request by creating an HTTP/3 stream and sending the given HEADERS frame.
- Specified by:
newRequestin interfaceSession.Client- Parameters:
frame- the HEADERS frame containing the HTTP request headerslistener- the listener that gets notified of stream eventspromise- aPromise.Invocablethat is notified of the stream creation
-
writeControlFrame
- Specified by:
writeControlFramein classHTTP3Session
-
writeMessageFrame
- Specified by:
writeMessageFramein classHTTP3Session
-
newGoAwayFrame
- Overrides:
newGoAwayFramein classHTTP3Session
-