Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CHUNK_SIZE |
Constructor and Description |
---|
BodyChunkedInput(Body body) |
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
public BodyChunkedInput(Body body)
@Deprecated public io.netty.buffer.ByteBuf readChunk(io.netty.channel.ChannelHandlerContext ctx) throws Exception
readChunk
in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
Exception
public io.netty.buffer.ByteBuf readChunk(io.netty.buffer.ByteBufAllocator alloc) throws Exception
readChunk
in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
Exception
public boolean isEndOfInput() throws Exception
isEndOfInput
in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
Exception
public void close() throws Exception
close
in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
Exception
public 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 © 2017. All Rights Reserved.