List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file com.addthis.meshy.ChannelState.java
public class ChannelState extends ChannelDuplexHandler { private static final Logger log = LoggerFactory.getLogger(ChannelState.class); private static final int excessiveTargets = Parameter.intValue("meshy.channel.report.targets", 2000); private static final int excessiveSources = Parameter.intValue("meshy.channel.report.sources", 2000);
From source file com.aerofs.baseline.http.BufferingHttpObjectHandler.java
@NotThreadSafe final class BufferingHttpObjectHandler extends ChannelDuplexHandler { private final ArrayList<Object> queuedReads = Lists.newArrayListWithCapacity(10); // FIXME (AG): UNBOUNDED! private boolean currentReadComplete = true;
From source file com.alibaba.dubbo.remoting.transport.netty.NettyClientHandler.java
/** * NettyClientHandler */ @io.netty.channel.ChannelHandler.Sharable public class NettyClientHandler extends ChannelDuplexHandler {
From source file com.alibaba.dubbo.remoting.transport.netty.NettyServerHandler.java
/** * NettyClientHandler */ @io.netty.channel.ChannelHandler.Sharable public class NettyServerHandler extends ChannelDuplexHandler {
From source file com.alibaba.dubbo.remoting.transport.netty4.NettyClientHandler.java
/**
* NettyClientHandler
*
* @author william.liangf
* @author qinliujie
*/
From source file com.alibaba.dubbo.remoting.transport.netty4.NettyServerHandler.java
/**
* NettyClientHandler
*
* @author william.liangf
* @author qinliujie
*/
From source file com.alltobid.quotabid.BidServerHandler.java
@Sharable public class BidServerHandler extends ChannelDuplexHandler { private final ConcurrentSet<Channel> channels = new ConcurrentSet<Channel>(); private final Logger logger = LoggerFactory.getLogger(BidServerHandler.class); private final AtomicLong channelInactiveTimes = new AtomicLong();
From source file com.bloom.zerofs.rest.HealthCheckHandler.java
/** * Responsible for responding to health check requests * {@link RestServerState} assists in knowing the state of the system at any point in time */ public class HealthCheckHandler extends ChannelDuplexHandler { private static final byte[] GOOD = "GOOD".getBytes();
From source file com.bloom.zerofs.rest.PublicAccessLogHandler.java
/** * Captures headers and other required info from request and responses, to make public access log entries * {@link PublicAccessLogger} assists in logging the required information */ public class PublicAccessLogHandler extends ChannelDuplexHandler { private final PublicAccessLogger publicAccessLogger;
From source file com.chenyang.proxy.http.HttpIdleHandler.java
public class HttpIdleHandler extends ChannelDuplexHandler { private static Logger logger = LoggerFactory.getLogger(HttpIdleHandler.class); @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {