public class OutboundStreamHttpResponse
extends io.netty.handler.codec.http.DefaultHttpResponse
implements io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
| Constructor and Description |
|---|
OutboundStreamHttpResponse(InputStream in,
io.netty.handler.codec.http.DefaultHttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.netty.handler.codec.http.DefaultHttpResponse |
getResponse() |
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.
|
equals, getStatus, hashCode, setProtocolVersion, setStatus, status, toStringgetProtocolVersion, headers, protocolVersiondecoderResult, getDecoderResult, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic OutboundStreamHttpResponse(InputStream in, io.netty.handler.codec.http.DefaultHttpResponse response)
public io.netty.handler.codec.http.DefaultHttpResponse getResponse()
public boolean isEndOfInput()
throws Exception
isEndOfInput in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>Exceptionpublic void close()
throws Exception
close in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>Exception@Deprecated public io.netty.handler.codec.http.HttpContent readChunk(io.netty.channel.ChannelHandlerContext channelHandlerContext) throws Exception
readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>Exceptionpublic io.netty.handler.codec.http.HttpContent readChunk(io.netty.buffer.ByteBufAllocator byteBufAllocator)
throws Exception
readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>Exceptionpublic long length()
length in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>public long progress()
progress in interface io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>Apache Camel