Interface StreamedHttpMessage

  • 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. This class contains source imported from https://github.com/playframework/netty-reactive-streams, licensed under the Apache License 2.0, available at the time of the fork (1/31/2020) here: https://github.com/playframework/netty-reactive-streams/blob/master/LICENSE.txt All original source licensed under the Apache License 2.0 by playframework. All modifications are licensed under the Apache License 2.0 by Amazon Web Services.
    • Method Summary

      • Methods inherited from interface io.netty.handler.codec.DecoderResultProvider

        decoderResult, setDecoderResult
      • Methods inherited from interface io.netty.handler.codec.http.HttpMessage

        getProtocolVersion, headers, protocolVersion, setProtocolVersion
      • Methods inherited from interface io.netty.handler.codec.http.HttpObject

        getDecoderResult
      • Methods inherited from interface org.reactivestreams.Publisher

        subscribe