public class OutboundStreamHttpRequest
extends io.netty.handler.codec.http.DefaultHttpRequest
implements io.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
| Constructor and Description |
|---|
OutboundStreamHttpRequest(InputStream in,
io.netty.handler.codec.http.DefaultHttpRequest request) |
| Modifier and Type | Method and 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.
|
equals, getMethod, getUri, hashCode, method, setMethod, setProtocolVersion, setUri, toString, urigetProtocolVersion, headers, protocolVersiondecoderResult, getDecoderResult, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic OutboundStreamHttpRequest(InputStream in, io.netty.handler.codec.http.DefaultHttpRequest request)
public io.netty.handler.codec.http.DefaultHttpRequest getRequest()
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