Package org.eclipse.jetty.http3.client
Class HTTP3StreamClient
java.lang.Object
org.eclipse.jetty.http3.HTTP3Stream
org.eclipse.jetty.http3.client.HTTP3StreamClient
- All Implemented Interfaces:
Stream
,Stream.Client
,CyclicTimeouts.Expirable
,Attachable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http3.HTTP3Stream
HTTP3Stream.FrameState
Nested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Stream
Stream.Client, Stream.Data, Stream.Server
Nested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Stream.Client
Stream.Client.Listener
-
Constructor Summary
ConstructorDescriptionHTTP3StreamClient
(HTTP3Session session, QuicStreamEndPoint endPoint, boolean local) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
notifyFailure
(long error, Throwable failure) protected void
notifyIdleTimeout
(TimeoutException timeout, Promise<Boolean> promise) protected void
notifyTrailer
(HeadersFrame frame) void
onOpen()
void
onResponse
(HeadersFrame frame) void
setListener
(Stream.Client.Listener listener) Methods inherited from class org.eclipse.jetty.http3.HTTP3Stream
data, demand, getAttachment, getEndPoint, getExpireNanoTime, getId, getIdleTimeout, getSession, hasDemand, hasDemandOrStall, isClosed, isLocal, notIdle, onData, onData, onFailure, onHeaders, onTrailer, readData, reset, setAttachment, setIdleTimeout, toString, trailer, updateClose, validateAndUpdate, write, writeFrame
-
Constructor Details
-
HTTP3StreamClient
-
-
Method Details
-
getListener
-
onOpen
public void onOpen() -
setListener
-
onResponse
-
notifyDataAvailable
protected void notifyDataAvailable()- Specified by:
notifyDataAvailable
in classHTTP3Stream
-
notifyTrailer
- Specified by:
notifyTrailer
in classHTTP3Stream
-
notifyIdleTimeout
- Specified by:
notifyIdleTimeout
in classHTTP3Stream
-
notifyFailure
- Specified by:
notifyFailure
in classHTTP3Stream
-