Class OutboundStreamHttpRequest
java.lang.Object
io.netty.handler.codec.http.DefaultHttpObject
io.netty.handler.codec.http.DefaultHttpMessage
io.netty.handler.codec.http.DefaultHttpRequest
org.apache.camel.component.netty.http.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>
-
Constructor Summary
ConstructorsConstructorDescriptionOutboundStreamHttpRequest(InputStream in, io.netty.handler.codec.http.DefaultHttpRequest request) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()io.netty.handler.codec.http.DefaultHttpRequestbooleanlonglength()longprogress()io.netty.handler.codec.http.HttpContentreadChunk(io.netty.buffer.ByteBufAllocator byteBufAllocator) io.netty.handler.codec.http.HttpContentreadChunk(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, uriMethods inherited from class io.netty.handler.codec.http.DefaultHttpMessage
getProtocolVersion, headers, protocolVersionMethods inherited from class io.netty.handler.codec.http.DefaultHttpObject
decoderResult, getDecoderResult, setDecoderResultMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResultMethods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersionMethods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult
-
Constructor Details
-
OutboundStreamHttpRequest
public OutboundStreamHttpRequest(InputStream in, io.netty.handler.codec.http.DefaultHttpRequest request)
-
-
Method Details
-
getRequest
public io.netty.handler.codec.http.DefaultHttpRequest getRequest() -
isEndOfInput
- Specified by:
isEndOfInputin interfaceio.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>- Throws:
Exception
-
close
- Specified by:
closein interfaceio.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:
readChunkin interfaceio.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:
readChunkin interfaceio.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>- Throws:
Exception
-
length
public long length()- Specified by:
lengthin interfaceio.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
-
progress
public long progress()- Specified by:
progressin interfaceio.netty.handler.stream.ChunkedInput<io.netty.handler.codec.http.HttpContent>
-