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, uri
getProtocolVersion, headers, protocolVersion
decoderResult, getDecoderResult, setDecoderResult
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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>
Exception
public 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>
Exception
public 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>
Exception
public 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