Class BodyChunkedInput
- java.lang.Object
-
- org.asynchttpclient.netty.request.body.BodyChunkedInput
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_CHUNK_SIZE
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
boolean
isEndOfInput()
long
length()
long
progress()
io.netty.buffer.ByteBuf
readChunk(io.netty.buffer.ByteBufAllocator alloc)
io.netty.buffer.ByteBuf
readChunk(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:
readChunk
in 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:
readChunk
in interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
- Throws:
Exception
-
isEndOfInput
public boolean isEndOfInput()
- Specified by:
isEndOfInput
in interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
-
close
public void close() throws Exception
- Specified by:
close
in interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
- Throws:
Exception
-
length
public long length()
- Specified by:
length
in interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
-
progress
public long progress()
- Specified by:
progress
in interfaceio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
-
-