Uses of Interface
org.eclipse.jetty.http2.api.Stream
-
Packages that use Stream Package Description org.eclipse.jetty.http2 org.eclipse.jetty.http2.api org.eclipse.jetty.http2.client.http org.eclipse.jetty.http2.server -
-
Uses of Stream in org.eclipse.jetty.http2
Subinterfaces of Stream in org.eclipse.jetty.http2 Modifier and Type Interface Description interface
IStream
The SPI interface for implementing an HTTP/2 stream.Classes in org.eclipse.jetty.http2 that implement Stream Modifier and Type Class Description class
HTTP2Stream
Methods in org.eclipse.jetty.http2 that return types with arguments of type Stream Modifier and Type Method Description java.util.Collection<Stream>
HTTP2Session. getStreams()
Methods in org.eclipse.jetty.http2 with parameters of type Stream Modifier and Type Method Description protected Stream.Listener
HTTP2Session. notifyNewStream(Stream stream, HeadersFrame frame)
Method parameters in org.eclipse.jetty.http2 with type arguments of type Stream Modifier and Type Method Description protected IStream
HTTP2Session. createLocalStream(int streamId, Promise<Stream> promise)
void
HTTP2Session. newStream(HeadersFrame frame, Promise<Stream> promise, Stream.Listener listener)
void
HTTP2Session. newStream(IStream.FrameList frames, Promise<Stream> promise, Stream.Listener listener)
void
ISession. newStream(IStream.FrameList frames, Promise<Stream> promise, Stream.Listener listener)
Sends the given list of frames to create a newStream
.void
HTTP2Session. push(IStream stream, Promise<Stream> promise, PushPromiseFrame frame, Stream.Listener listener)
void
HTTP2Stream. push(PushPromiseFrame frame, Promise<Stream> promise, Stream.Listener listener)
void
ISession. push(IStream stream, Promise<Stream> promise, PushPromiseFrame frame, Stream.Listener listener)
Enqueues the given PUSH_PROMISE frame to be written to the connection. -
Uses of Stream in org.eclipse.jetty.http2.api
Methods in org.eclipse.jetty.http2.api that return Stream Modifier and Type Method Description Stream
Session. getStream(int streamId)
Retrieves the stream with the givenstreamId
.Methods in org.eclipse.jetty.http2.api that return types with arguments of type Stream Modifier and Type Method Description java.util.Collection<Stream>
Session. getStreams()
Methods in org.eclipse.jetty.http2.api with parameters of type Stream Modifier and Type Method Description default void
Stream.Listener. onClosed(Stream stream)
Callback method invoked after the stream has been closed.void
Stream.Listener.Adapter. onData(Stream stream, DataFrame frame, Callback callback)
void
Stream.Listener. onData(Stream stream, DataFrame frame, Callback callback)
Callback method invoked when a DATA frame has been received.default void
Stream.Listener. onFailure(Stream stream, int error, java.lang.String reason, java.lang.Throwable failure, Callback callback)
Callback method invoked when the stream failed.default void
Stream.Listener. onFailure(Stream stream, int error, java.lang.String reason, Callback callback)
Deprecated.void
Stream.Listener.Adapter. onHeaders(Stream stream, HeadersFrame frame)
void
Stream.Listener. onHeaders(Stream stream, HeadersFrame frame)
Callback method invoked when a HEADERS frame representing the HTTP response has been received.boolean
Stream.Listener.Adapter. onIdleTimeout(Stream stream, java.lang.Throwable x)
default boolean
Stream.Listener. onIdleTimeout(Stream stream, java.lang.Throwable x)
Callback method invoked when the stream exceeds its idle timeout.Stream.Listener
Session.Listener.Adapter. onNewStream(Stream stream, HeadersFrame frame)
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)
.Stream.Listener
Stream.Listener.Adapter. onPush(Stream stream, PushPromiseFrame frame)
Stream.Listener
Stream.Listener. onPush(Stream stream, PushPromiseFrame frame)
Callback method invoked when a PUSH_PROMISE frame has been received.void
Stream.Listener.Adapter. onReset(Stream stream, ResetFrame frame)
default void
Stream.Listener. onReset(Stream stream, ResetFrame frame)
Callback method invoked when a RST_STREAM frame has been received for this stream.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.void
Stream.Listener.Adapter. onTimeout(Stream stream, java.lang.Throwable x)
default void
Stream.Listener. onTimeout(Stream stream, java.lang.Throwable x)
Deprecated.useStream.Listener.onIdleTimeout(Stream, Throwable)
insteadMethod parameters in org.eclipse.jetty.http2.api with type arguments of type Stream Modifier and Type Method Description void
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.http
Methods in org.eclipse.jetty.http2.client.http that return Stream Modifier and Type Method Description Stream
HttpChannelOverHTTP2. getStream()
Methods in org.eclipse.jetty.http2.client.http with parameters of type Stream Modifier and Type Method Description void
HttpReceiverOverHTTP2. onData(Stream stream, DataFrame frame, Callback callback)
void
HttpReceiverOverHTTP2. onFailure(Stream stream, int error, java.lang.String reason, java.lang.Throwable failure, Callback callback)
void
HttpReceiverOverHTTP2. onHeaders(Stream stream, HeadersFrame frame)
boolean
HttpReceiverOverHTTP2. onIdleTimeout(Stream stream, java.lang.Throwable x)
void
HttpReceiverOverHTTP2. onNewStream(Stream stream)
Stream.Listener
HttpReceiverOverHTTP2. onPush(Stream stream, PushPromiseFrame frame)
void
HttpReceiverOverHTTP2. onReset(Stream stream, ResetFrame frame)
void
HttpChannelOverHTTP2. setStream(Stream stream)
-
Uses of Stream in org.eclipse.jetty.http2.server
Methods in org.eclipse.jetty.http2.server with parameters of type Stream Modifier and Type Method Description void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onData(Stream stream, DataFrame frame, Callback callback)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onFailure(Stream stream, int error, java.lang.String reason, java.lang.Throwable failure, Callback callback)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onHeaders(Stream stream, HeadersFrame frame)
boolean
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onIdleTimeout(Stream stream, java.lang.Throwable x)
Stream.Listener
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onNewStream(Stream stream, HeadersFrame frame)
Stream.Listener
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onPush(Stream stream, PushPromiseFrame frame)
void
HTTP2ServerConnectionFactory.HTTPServerSessionListener. onReset(Stream stream, ResetFrame frame, Callback callback)
-