- All Superinterfaces:
- io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent>
- All Known Subinterfaces:
- StreamedHttpRequest, StreamedHttpResponse
- All Known Implementing Classes:
- DefaultStreamedHttpRequest, DefaultStreamedHttpResponse
public interface StreamedHttpMessage
extends io.netty.handler.codec.http.HttpMessage, org.reactivestreams.Publisher<io.netty.handler.codec.http.HttpContent>
Combines HttpMessage
and Publisher
into one
message. So it represents an http message with a stream of HttpContent
messages that can be subscribed to.
Note that receivers of this message must consume the publisher,
since the publisher will exert back pressure up the stream if not consumed.
- Author:
- jroper, Graeme Rocher