Class OutboundStreamHttpRequest

  • All Implemented Interfaces:
    io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.http.HttpRequest, io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>

    public class OutboundStreamHttpRequest
    extends io.netty.handler.codec.http.DefaultHttpRequest
    implements io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()  
      io.netty.handler.codec.http.DefaultHttpRequest getRequest()  
      boolean isEndOfInput()  
      long length()  
      long progress()  
      io.netty.handler.codec.http.HttpContent readChunk​(io.netty.buffer.ByteBufAllocator byteBufAllocator)  
      io.netty.handler.codec.http.HttpContent readChunk​(io.netty.channel.ChannelHandlerContext channelHandlerContext)
      Deprecated.
      • Methods inherited from class io.netty.handler.codec.http.DefaultHttpRequest

        equals, getMethod, getUri, hashCode, method, setMethod, setProtocolVersion, setUri, toString, uri
      • Methods inherited from class io.netty.handler.codec.http.DefaultHttpMessage

        getProtocolVersion, headers, protocolVersion
      • Methods inherited from class io.netty.handler.codec.http.DefaultHttpObject

        decoderResult, getDecoderResult, setDecoderResult
      • Methods inherited from interface io.netty.handler.codec.DecoderResultProvider

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

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

        getDecoderResult
    • Constructor Detail

      • OutboundStreamHttpRequest

        public OutboundStreamHttpRequest​(InputStream in,
                                         io.netty.handler.codec.http.DefaultHttpRequest request)
    • Method Detail

      • getRequest

        public io.netty.handler.codec.http.DefaultHttpRequest getRequest()
      • isEndOfInput

        public boolean isEndOfInput()
                             throws Exception
        Specified by:
        isEndOfInput in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
        Throws:
        Exception
      • readChunk

        @Deprecated
        public io.netty.handler.codec.http.HttpContent readChunk​(io.netty.channel.ChannelHandlerContext channelHandlerContext)
                                                          throws Exception
        Deprecated.
        Specified by:
        readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
        Throws:
        Exception
      • readChunk

        public io.netty.handler.codec.http.HttpContent readChunk​(io.netty.buffer.ByteBufAllocator byteBufAllocator)
                                                          throws Exception
        Specified by:
        readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
        Throws:
        Exception
      • length

        public long length()
        Specified by:
        length in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
      • progress

        public long progress()
        Specified by:
        progress in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>