Example usage for io.netty.channel SimpleChannelInboundHandler subclass-usage

List of usage examples for io.netty.channel SimpleChannelInboundHandler subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel SimpleChannelInboundHandler subclass-usage.

Usage

From source file com.liferay.sync.engine.lan.server.file.LanFileServerHandler.java

/**
 * @author Dennis Ju
 */
public class LanFileServerHandler extends SimpleChannelInboundHandler<FullHttpRequest> {

    public LanFileServerHandler(SyncTrafficShapingHandler syncTrafficShapingHandler) {

From source file com.linkedin.mitm.proxy.channel.ClientChannelHandler.java

/**
 * Client channel handler that implemented read logic by
 * creating protocol specific ChannelHandlerDelegate to handle read events from client
 * It is stateful.New instance gets created every time when proxy receive a new request.
 *
 * @author shfeng

From source file com.linkedin.mitm.proxy.channel.ServerChannelHandler.java

/**
 * Server channel handler that implemented read logic from server side.
 * Note: It's stateful. Each {@link com.linkedin.mitm.proxy.channel.ClientChannelHandler} map to one
 * ServerChannelHandler.
 *
 * @author shfeng

From source file com.linkedin.proxy.netty.MysqlQueryHandler.java

public class MysqlQueryHandler extends SimpleChannelInboundHandler<MysqlQuery> {
    private static final Logger _LOG = Logger.getLogger(MysqlQueryHandler.class);
    private ConnectionPool _connPool;

    public MysqlQueryHandler(ConnectionPool connPool) {
        _connPool = connPool;

From source file com.linkedin.proxy.netty.RocksdbQueryHandler.java

public class RocksdbQueryHandler extends SimpleChannelInboundHandler<Query> {
    private static final Logger _log = Logger.getLogger(RocksdbQueryHandler.class);
    private ConnectionPool _connPool;

    public RocksdbQueryHandler(ConnectionPool connPool) {
        _connPool = connPool;

From source file com.linkedin.r2.transport.http.client.RAPResponseDecoder.java

/**
 * This Decoder decodes chunked Netty responses into StreamResponse.
 *
 * @author Zhenkai Zhu
 */

From source file com.linkedin.r2.transport.http.client.RAPResponseHandler.java

/**
 * Netty pipeline handler which takes a complete received message and invokes the
 * user-specified callback.
 *
 * Note that an instance of this class needs to be stateless, since a single instance is used
 * in multiple ChannelPipelines simultaneously. The per-channel state is stored in Channel's

From source file com.linkedin.r2.transport.http.client.RAPStreamResponseHandler.java

/**
 * Netty pipeline handler which takes a complete received message and invokes the
 * user-specified callback.
 *
 * Note that an instance of this class needs to be stateless, since a single instance is used
 * in multiple ChannelPipelines simultaneously. The per-channel state is stored in Channel's

From source file com.lm.WebSocketServerHandler.java

/**
 * Handles handshakes and messages
 */
public class WebSocketServerHandler extends SimpleChannelInboundHandler<Object> {

    private WebSocketServerHandshaker handshaker;

From source file com.look.netty.demo.benchmarkserver.WebSocketServerHandler.java

/**
 * Handles handshakes and messages
 */
public class WebSocketServerHandler extends SimpleChannelInboundHandler<Object> {

    private static final String WEBSOCKET_PATH = "/websocket";