Uses of Class
org.eclipse.jetty.http2.frames.HeadersFrame
Package
Description
-
Uses of HeadersFrame in org.eclipse.jetty.http2
Modifier and TypeMethodDescriptionvoid
HTTP2Stream.headers
(HeadersFrame frame, Callback callback) void
HTTP2Session.newStream
(HeadersFrame frame, Promise<Stream> promise, Stream.Listener listener) HTTP2Session.newUpgradeStream
(HeadersFrame frame, Stream.Listener listener, Consumer<Throwable> failFn) Creates a new stream allocating a stream id if the given HEADERS frame does not have one.protected void
HTTP2Stream.notifyHeaders
(Stream stream, HeadersFrame frame) protected Stream.Listener
HTTP2Session.notifyNewStream
(Stream stream, HeadersFrame frame) void
HTTP2Connection.onHeaders
(HeadersFrame frame) abstract void
HTTP2Session.onHeaders
(HeadersFrame frame) HTTP2Channel.Server.onTrailer
(HeadersFrame frame) ModifierConstructorDescriptionFrameList
(HeadersFrame headers) Creates a frame list of just the given HEADERS frame.FrameList
(HeadersFrame headers, DataFrame data, HeadersFrame trailers) Creates a frame list of the given frames. -
Uses of HeadersFrame in org.eclipse.jetty.http2.api
Modifier and TypeMethodDescriptiondefault CompletableFuture<Stream>
Stream.headers
(HeadersFrame frame) Sends the given HEADERSframe
representing an HTTP response.void
Stream.headers
(HeadersFrame frame, Callback callback) Sends the given HEADERSframe
.default CompletableFuture<Stream>
Session.newStream
(HeadersFrame frame, Stream.Listener listener) Sends the given HEADERSframe
to create a newStream
.void
Session.newStream
(HeadersFrame frame, Promise<Stream> promise, Stream.Listener listener) Sends the given HEADERSframe
to create a newStream
.default void
Stream.Listener.onHeaders
(Stream stream, HeadersFrame frame) Callback method invoked when a HEADERS frame representing the HTTP response has been received.default Stream.Listener
Session.Listener.onNewStream
(Stream stream, HeadersFrame frame) Callback method invoked when a new stream is being created upon receiving a HEADERS frame representing an HTTP request. -
Uses of HeadersFrame in org.eclipse.jetty.http2.client.internal
-
Uses of HeadersFrame in org.eclipse.jetty.http2.frames
-
Uses of HeadersFrame in org.eclipse.jetty.http2.parser
Modifier and TypeMethodDescriptionprotected void
BodyParser.notifyHeaders
(HeadersFrame frame) default void
Parser.Listener.onHeaders
(HeadersFrame frame) void
Parser.Listener.Wrapper.onHeaders
(HeadersFrame frame) -
Uses of HeadersFrame in org.eclipse.jetty.http2.server
Modifier and TypeMethodDescriptionvoid
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onHeaders
(Stream stream, HeadersFrame frame) HTTP2ServerConnectionFactory.HTTPServerSessionListener.onNewStream
(Stream stream, HeadersFrame frame) -
Uses of HeadersFrame in org.eclipse.jetty.http2.server.internal
Modifier and TypeMethodDescriptionvoid
HTTP2ServerSession.onHeaders
(HeadersFrame frame) void
HTTP2ServerConnection.onNewStream
(HTTP2Stream stream, HeadersFrame frame) HttpStreamOverHTTP2.onRequest
(HeadersFrame frame) HttpStreamOverHTTP2.onTrailer
(HeadersFrame frame) ServerHTTP2StreamEndPoint.onTrailer
(HeadersFrame frame) void
HTTP2ServerConnection.onTrailers
(Stream stream, HeadersFrame frame)