public class BodyChunkedInput
extends java.lang.Object
implements io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
Body to Netty's ChunkedInput.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CHUNK_SIZE |
| Modifier and Type | Method and 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.
|
public static final int DEFAULT_CHUNK_SIZE
@Deprecated
public io.netty.buffer.ByteBuf readChunk(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>java.lang.Exceptionpublic io.netty.buffer.ByteBuf readChunk(io.netty.buffer.ByteBufAllocator alloc)
throws java.lang.Exception
readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>java.lang.Exceptionpublic boolean isEndOfInput()
isEndOfInput in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>public void close()
throws java.lang.Exception
close in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>java.lang.Exceptionpublic long length()
length in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>public long progress()
progress in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>Copyright © 2018. All Rights Reserved.