public class WriteProgressListener extends WriteListener implements ChannelProgressiveFutureListener
future, notifyHeaders, progressAsyncHandler
Constructor and Description |
---|
WriteProgressListener(NettyResponseFuture<?> future,
boolean notifyHeaders,
long expectedTotal) |
Modifier and Type | Method and Description |
---|---|
void |
operationComplete(ChannelProgressiveFuture cf) |
void |
operationProgressed(ChannelProgressiveFuture f,
long progress,
long total) |
operationComplete
public WriteProgressListener(NettyResponseFuture<?> future, boolean notifyHeaders, long expectedTotal)
public void operationComplete(ChannelProgressiveFuture cf)
operationComplete
in interface io.netty.util.concurrent.GenericFutureListener<ChannelProgressiveFuture>
public void operationProgressed(ChannelProgressiveFuture f, long progress, long total)
operationProgressed
in interface io.netty.util.concurrent.GenericProgressiveFutureListener<ChannelProgressiveFuture>
Copyright © 2017. All Rights Reserved.