Package org.eclipse.jetty.http3.api
Interface Stream.Server
- All Superinterfaces:
Stream
- Enclosing interface:
- Stream
The server side version of Stream
.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
AStream.Server.Listener
is the passive counterpart of aStream.Server
and receives server-side events happening on an HTTP/3 stream.Nested classes/interfaces inherited from interface org.eclipse.jetty.http3.api.Stream
Stream.Client, Stream.Data, Stream.Server
-
Method Summary
Modifier and TypeMethodDescriptionrespond
(HeadersFrame frame) Responds to a request performed viaSession.Client.newRequest(HeadersFrame, Client.Listener)
, sending the given HEADERS frame containing the response status code and response headers.
-
Method Details
-
respond
Responds to a request performed via
Session.Client.newRequest(HeadersFrame, Client.Listener)
, sending the given HEADERS frame containing the response status code and response headers.- Parameters:
frame
- the HEADERS frame containing the response headers- Returns:
- the
CompletableFuture
that gets notified when the frame has been sent
-