Class BodyChunkedInput
- java.lang.Object
-
- org.asynchttpclient.netty.request.body.BodyChunkedInput
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_CHUNK_SIZE
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()booleanisEndOfInput()longlength()longprogress()io.netty.buffer.ByteBufreadChunk(io.netty.buffer.ByteBufAllocator alloc)io.netty.buffer.ByteBufreadChunk(io.netty.channel.ChannelHandlerContext ctx)Deprecated.
-
-
-
Field Detail
-
DEFAULT_CHUNK_SIZE
public static final int DEFAULT_CHUNK_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
readChunk
@Deprecated public io.netty.buffer.ByteBuf readChunk(io.netty.channel.ChannelHandlerContext ctx) throws Exception
Deprecated.- Specified by:
readChunkin interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>- Throws:
Exception
-
readChunk
public io.netty.buffer.ByteBuf readChunk(io.netty.buffer.ByteBufAllocator alloc) throws Exception- Specified by:
readChunkin interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>- Throws:
Exception
-
isEndOfInput
public boolean isEndOfInput()
- Specified by:
isEndOfInputin interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
-
close
public void close() throws Exception- Specified by:
closein interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>- Throws:
Exception
-
length
public long length()
- Specified by:
lengthin interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
-
progress
public long progress()
- Specified by:
progressin interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
-
-