public class ProgressListener extends Object implements org.jboss.netty.channel.ChannelFutureProgressListener
Constructor and Description |
---|
ProgressListener(AsyncHttpClientConfig config,
AsyncHandler<?> asyncHandler,
NettyResponseFuture<?> future,
boolean notifyHeaders) |
Modifier and Type | Method and Description |
---|---|
void |
operationComplete(org.jboss.netty.channel.ChannelFuture cf) |
void |
operationProgressed(org.jboss.netty.channel.ChannelFuture cf,
long amount,
long current,
long total) |
public ProgressListener(AsyncHttpClientConfig config, AsyncHandler<?> asyncHandler, NettyResponseFuture<?> future, boolean notifyHeaders)
public void operationComplete(org.jboss.netty.channel.ChannelFuture cf)
operationComplete
in interface org.jboss.netty.channel.ChannelFutureListener
public void operationProgressed(org.jboss.netty.channel.ChannelFuture cf, long amount, long current, long total)
operationProgressed
in interface org.jboss.netty.channel.ChannelFutureProgressListener
Copyright © 2014. All Rights Reserved.