Class WriteProgressListener
- java.lang.Object
-
- org.asynchttpclient.netty.request.WriteListener
-
- org.asynchttpclient.netty.request.WriteProgressListener
-
- All Implemented Interfaces:
io.netty.channel.ChannelProgressiveFutureListener,io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelProgressiveFuture>,io.netty.util.concurrent.GenericProgressiveFutureListener<io.netty.channel.ChannelProgressiveFuture>,EventListener
public class WriteProgressListener extends WriteListener implements io.netty.channel.ChannelProgressiveFutureListener
-
-
Field Summary
-
Fields inherited from class org.asynchttpclient.netty.request.WriteListener
future
-
-
Constructor Summary
Constructors Constructor Description WriteProgressListener(NettyResponseFuture<?> future, boolean notifyHeaders, long expectedTotal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoperationComplete(io.netty.channel.ChannelProgressiveFuture cf)voidoperationProgressed(io.netty.channel.ChannelProgressiveFuture f, long progress, long total)
-
-
-
Constructor Detail
-
WriteProgressListener
public WriteProgressListener(NettyResponseFuture<?> future, boolean notifyHeaders, long expectedTotal)
-
-
Method Detail
-
operationComplete
public void operationComplete(io.netty.channel.ChannelProgressiveFuture cf)
- Specified by:
operationCompletein interfaceio.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelProgressiveFuture>
-
operationProgressed
public void operationProgressed(io.netty.channel.ChannelProgressiveFuture f, long progress, long total)- Specified by:
operationProgressedin interfaceio.netty.util.concurrent.GenericProgressiveFutureListener<io.netty.channel.ChannelProgressiveFuture>
-
-