Interface ChunkedHttpResponse

  • All Superinterfaces:
    io.netty.buffer.ByteBufHolder, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.FullHttpMessage, io.netty.handler.codec.http.FullHttpResponse, io.netty.handler.codec.http.HttpContent, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpResponse, io.netty.handler.codec.http.LastHttpContent, io.netty.util.ReferenceCounted
    All Known Subinterfaces:
    MultipartHttpResponse
    All Known Implementing Classes:
    DefaultFileChannelHttpResponse

    public interface ChunkedHttpResponse
    extends io.netty.handler.codec.http.FullHttpResponse
    • Field Summary

      • Fields inherited from interface io.netty.handler.codec.http.LastHttpContent

        EMPTY_LAST_CONTENT
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void writeChunkedContent​(io.netty.channel.ChannelHandlerContext ctx, io.netty.util.concurrent.Promise<io.netty.handler.codec.http.LastHttpContent> writePromise)  
      • Methods inherited from interface io.netty.buffer.ByteBufHolder

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

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

        copy, duplicate, replace, retain, retain, retainedDuplicate, setProtocolVersion, setStatus, touch, touch
      • Methods inherited from interface io.netty.handler.codec.http.HttpMessage

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

        getDecoderResult
      • Methods inherited from interface io.netty.handler.codec.http.HttpResponse

        getStatus, status
      • Methods inherited from interface io.netty.handler.codec.http.LastHttpContent

        trailingHeaders
      • Methods inherited from interface io.netty.util.ReferenceCounted

        refCnt, release, release
    • Method Detail

      • writeChunkedContent

        void writeChunkedContent​(io.netty.channel.ChannelHandlerContext ctx,
                                 io.netty.util.concurrent.Promise<io.netty.handler.codec.http.LastHttpContent> writePromise)
                          throws java.io.IOException
        Throws:
        java.io.IOException