public interface FeedableBodyGenerator extends BodyGenerator
BodyGenerator which may return just part of the payload at the time handler is requesting it.
If it happens, client becomes responsible for providing the rest of the chunks.| Modifier and Type | Method and Description |
|---|---|
boolean |
feed(io.netty.buffer.ByteBuf buffer,
boolean isLast) |
void |
setListener(FeedListener listener) |
createBodyboolean feed(io.netty.buffer.ByteBuf buffer,
boolean isLast)
throws Exception
Exceptionvoid setListener(FeedListener listener)
Copyright © 2019. All rights reserved.