List of usage examples for io.netty.channel ChannelInboundHandlerAdapter subclass-usage
From source file com.ict.twitter.netty.server.SendTaskClientHandler.java
/** * Handler implementation for the object echo client. It initiates the * ping-pong traffic between the object echo client and server by sending the * first message to the server. */ public class SendTaskClientHandler extends ChannelInboundHandlerAdapter {
From source file com.jacky.netty.helloworld.HttpHelloWorldServerHandler.java
public class HttpHelloWorldServerHandler extends ChannelInboundHandlerAdapter { private static final byte[] CONTENT = { 'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd' }; private static final AsciiString CONTENT_TYPE = new AsciiString("Content-Type"); private static final AsciiString CONTENT_LENGTH = new AsciiString("Content-Length"); private static final AsciiString CONNECTION = new AsciiString("Connection");
From source file com.jt.flash.proxy.handler.ProxyBackendHandler.java
public class ProxyBackendHandler extends ChannelInboundHandlerAdapter { private final Channel inboundChannel; private static final Logger log = LoggerFactory.getLogger(ProxyBackendHandler.class);
From source file com.jt.flash.proxy.handler.ProxyFrontendHandler.java
public class ProxyFrontendHandler extends ChannelInboundHandlerAdapter { private static final Logger log = LoggerFactory.getLogger(ProxyFrontendHandler.class); private String remoteHost; private int remotePort;
From source file com.juaby.labs.rpc.server.Rpc2ServerHandler.java
/** * Handles both client-side and server-side handler depending on which * constructor was called. */ public class Rpc2ServerHandler extends ChannelInboundHandlerAdapter {
From source file com.kingmed.dp.lisclient.demo.DiscardServerHandler.java
/** * * @author zhengjunjie */ public class DiscardServerHandler extends ChannelInboundHandlerAdapter {
From source file com.lambdaworks.redis.ChannelGroupListener.java
/**
* A netty {@link ChannelHandler} responsible for monitoring the channel and adding/removing the channel from/to the
* ChannelGroup.
*
* @author Will Glozer
*/
From source file com.lambdaworks.redis.ConnectionEventTrigger.java
/** * @author Mark Paluch * @since 3.0 */ @ChannelHandler.Sharable class ConnectionEventTrigger extends ChannelInboundHandlerAdapter {
From source file com.lambdaworks.redis.RedisChannelHandler.java
/**
* Abstract base for every redis connection. Provides basic connection functionality and tracks open resources.
*
* @param <K> Key type.
* @param <V> Value type.
* @author Mark Paluch
From source file com.lambdaworks.redis.server.RandomServerHandler.java
/** * Handler to generate random base64 data. */ @ChannelHandler.Sharable public class RandomServerHandler extends ChannelInboundHandlerAdapter {