Uses of Interface
org.eclipse.jetty.http2.api.Stream
Package
Description
-
Uses of Stream in org.eclipse.jetty.http2
Modifier and TypeMethodDescriptionHTTP2Session.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.Modifier and TypeMethodDescriptionprotected void
HTTP2Stream.notifyHeaders
(Stream stream, HeadersFrame frame) protected Stream.Listener
HTTP2Session.notifyNewStream
(Stream stream, HeadersFrame frame) void
BufferingFlowControlStrategy.onDataConsumed
(Session session, Stream stream, int length) void
FlowControlStrategy.onDataConsumed
(Session session, Stream stream, int length) void
SimpleFlowControlStrategy.onDataConsumed
(Session session, Stream stream, int length) void
AbstractFlowControlStrategy.onDataReceived
(Session session, Stream stream, int length) void
FlowControlStrategy.onDataReceived
(Session session, Stream stream, int length) void
AbstractFlowControlStrategy.onDataSending
(Stream stream, int length) void
FlowControlStrategy.onDataSending
(Stream stream, int length) void
AbstractFlowControlStrategy.onDataSent
(Stream stream, int length) void
FlowControlStrategy.onDataSent
(Stream stream, int length) void
AbstractFlowControlStrategy.onStreamCreated
(Stream stream) void
BufferingFlowControlStrategy.onStreamCreated
(Stream stream) void
FlowControlStrategy.onStreamCreated
(Stream stream) void
AbstractFlowControlStrategy.onStreamDestroyed
(Stream stream) void
BufferingFlowControlStrategy.onStreamDestroyed
(Stream stream) void
FlowControlStrategy.onStreamDestroyed
(Stream stream) protected final void
HTTP2Session.onStreamOpened
(Stream stream) protected void
AbstractFlowControlStrategy.onStreamStalled
(Stream stream) protected void
AbstractFlowControlStrategy.onStreamUnstalled
(Stream stream) void
AbstractFlowControlStrategy.onWindowUpdate
(Session session, Stream stream, WindowUpdateFrame frame) void
FlowControlStrategy.onWindowUpdate
(Session session, Stream stream, WindowUpdateFrame frame) void
HTTP2Session.push
(Stream stream, Promise<Stream> promise, PushPromiseFrame frame, Stream.Listener listener) boolean
HTTP2Session.removeStream
(Stream stream) protected void
AbstractFlowControlStrategy.sendWindowUpdate
(Session session, Stream stream, List<WindowUpdateFrame> frames) protected int
AbstractFlowControlStrategy.updateRecvWindow
(Stream stream, int value) protected int
AbstractFlowControlStrategy.updateSendWindow
(Stream stream, int value) protected void
AbstractFlowControlStrategy.updateWindow
(Session session, Stream stream, WindowUpdateFrame frame) void
AbstractFlowControlStrategy.windowUpdate
(Session session, Stream stream, WindowUpdateFrame frame) void
BufferingFlowControlStrategy.windowUpdate
(Session session, Stream stream, WindowUpdateFrame frame) void
FlowControlStrategy.windowUpdate
(Session session, Stream stream, WindowUpdateFrame frame) Modifier and TypeMethodDescriptionvoid
HTTP2Session.newStream
(HeadersFrame frame, Promise<Stream> promise, Stream.Listener listener) void
HTTP2Session.newStream
(HTTP2Stream.FrameList frames, Promise<Stream> promise, Stream.Listener listener) void
HTTP2Session.push
(Stream stream, Promise<Stream> promise, PushPromiseFrame frame, Stream.Listener listener) void
HTTP2Stream.push
(PushPromiseFrame frame, Promise<Stream> promise, Stream.Listener listener) -
Uses of Stream in org.eclipse.jetty.http2.api
Modifier and TypeMethodDescriptionSession.getStream
(int streamId) Retrieves the stream with the givenstreamId
.Modifier and TypeMethodDescriptiondefault CompletableFuture<Stream>
Sends the given DATAframe
.Session.getStreams()
default CompletableFuture<Stream>
Stream.headers
(HeadersFrame frame) Sends the given HEADERSframe
representing an HTTP response.default CompletableFuture<Stream>
Session.newStream
(HeadersFrame frame, Stream.Listener listener) Sends the given HEADERSframe
to create a newStream
.default CompletableFuture<Stream>
Stream.push
(PushPromiseFrame frame, Stream.Listener listener) Sends the given PUSH_PROMISEframe
.Modifier and TypeMethodDescriptiondefault void
Callback method invoked after the stream has been closed.default void
Stream.Listener.onDataAvailable
(Stream stream) Callback method invoked if the application has expresseddemand
for DATA frames, and if there may be content available.default void
Stream.Listener.onFailure
(Stream stream, int error, String reason, Throwable failure, Callback callback) Callback method invoked when the stream failed.default void
Stream.Listener.onHeaders
(Stream stream, HeadersFrame frame) Callback method invoked when a HEADERS frame representing the HTTP response has been received.default void
Stream.Listener.onIdleTimeout
(Stream stream, TimeoutException x, Promise<Boolean> promise) Callback method invoked when the stream exceeds its idle timeout.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.default void
Stream.Listener.onNewStream
(Stream stream) Callback method invoked when a stream is created locally bySession.newStream(HeadersFrame, Promise, Listener)
.default Stream.Listener
Stream.Listener.onPush
(Stream stream, PushPromiseFrame frame) Callback method invoked when a PUSH_PROMISE frame has been received.default void
Stream.Listener.onReset
(Stream stream, ResetFrame frame, Callback callback) Callback method invoked when a RST_STREAM frame has been received for this stream.Modifier and TypeMethodDescriptionvoid
Session.newStream
(HeadersFrame frame, Promise<Stream> promise, Stream.Listener listener) Sends the given HEADERSframe
to create a newStream
.void
Stream.push
(PushPromiseFrame frame, Promise<Stream> promise, Stream.Listener listener) Sends the given PUSH_PROMISEframe
. -
Uses of Stream in org.eclipse.jetty.http2.client.transport.internal
-
Uses of Stream in org.eclipse.jetty.http2.server
Modifier and TypeMethodDescriptionvoid
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onDataAvailable
(Stream stream) void
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onFailure
(Stream stream, int error, String reason, Throwable failure, Callback callback) void
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onHeaders
(Stream stream, HeadersFrame frame) void
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onIdleTimeout
(Stream stream, TimeoutException x, Promise<Boolean> promise) HTTP2ServerConnectionFactory.HTTPServerSessionListener.onNewStream
(Stream stream, HeadersFrame frame) HTTP2ServerConnectionFactory.HTTPServerSessionListener.onPush
(Stream stream, PushPromiseFrame frame) void
HTTP2ServerConnectionFactory.HTTPServerSessionListener.onReset
(Stream stream, ResetFrame frame, Callback callback) -
Uses of Stream in org.eclipse.jetty.http2.server.internal
Modifier and TypeMethodDescriptionvoid
HTTP2ServerConnection.onDataAvailable
(Stream stream) void
HTTP2ServerConnection.onStreamFailure
(Stream stream, Throwable failure, Callback callback) void
HTTP2ServerConnection.onStreamTimeout
(Stream stream, TimeoutException timeout, Promise<Boolean> promise) void
HTTP2ServerConnection.onTrailers
(Stream stream, HeadersFrame frame)