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 |
| Constructor and Description |
|---|
BodyChunkedInput(Body body) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isEndOfInput() |
io.netty.buffer.ByteBuf |
readChunk(ChannelHandlerContext ctx) |
public static final int DEFAULT_CHUNK_SIZE
public BodyChunkedInput(Body body)
public io.netty.buffer.ByteBuf readChunk(ChannelHandlerContext ctx) throws java.lang.Exception
readChunk in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>java.lang.Exceptionpublic boolean isEndOfInput()
throws java.lang.Exception
isEndOfInput in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>java.lang.Exceptionpublic void close()
throws java.lang.Exception
close in interface io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>java.lang.ExceptionCopyright © 2018. All Rights Reserved.