Package io.micronaut.http.netty.stream
Interface StreamedHttpMessage
- All Superinterfaces:
io.netty.handler.codec.DecoderResultProvider,io.netty.handler.codec.http.HttpMessage,io.netty.handler.codec.http.HttpObject,Publisher<io.netty.handler.codec.http.HttpContent>
- All Known Subinterfaces:
StreamedHttpRequest,StreamedHttpResponse
- All Known Implementing Classes:
DefaultStreamedHttpRequest,DefaultStreamedHttpResponse,DelegateStreamedHttpRequest,DelegateStreamedHttpResponse
public interface StreamedHttpMessage
extends io.netty.handler.codec.http.HttpMessage, Publisher<io.netty.handler.codec.http.HttpContent>
Combines
HttpMessage and Publisher into one
message. So it represents a 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
-
Method Summary
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion, setProtocolVersionMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult