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

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

Introduction

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

Usage

From source file com.heliosapm.webrpc.websocket.WebSocketServiceHandler.java

/**
 * <p>Title: WebSocketServiceHandler</p>
 * <p>Description: WebSocket handler for fronting JSON based data-services</p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>org.helios.tsdb.plugins.rpc.netty.pipeline.websock.WebSocketServiceHandler</code></p>

From source file com.hop.hhxx.example.http2.helloworld.multiplex.server.HelloWorldHttp2Handler.java

/**
 * A simple handler that responds with the message "Hello World!".
 *
 * <p>This example is making use of the "multiplexing" http2 API, where streams are mapped to child
 * Channels. This API is very experimental and incomplete.
 */

From source file com.hop.hhxx.example.memcache.binary.MemcacheClientHandler.java

public class MemcacheClientHandler extends ChannelDuplexHandler {

    /**
     * Transforms basic string requests to binary memcache requests
     */
    @Override

From source file com.hop.hhxx.example.redis.RedisClientHandler.java

/**
 * An example Redis client handler. This handler read input from STDIN and write output to STDOUT.
 */
public class RedisClientHandler extends ChannelDuplexHandler {

    @Override

From source file com.hop.hhxx.example.spdy.client.SpdyFrameLogger.java

/**
 * Logs SPDY frames for debugging purposes.
 */
public class SpdyFrameLogger extends ChannelDuplexHandler {

    private enum Direction {

From source file com.ibasco.agql.core.transport.handlers.ErrorHandler.java

public class ErrorHandler extends ChannelDuplexHandler {
    private static final Logger log = LoggerFactory.getLogger(ErrorHandler.class);

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        if (log.isDebugEnabled()) {

From source file com.king.platform.net.http.netty.BaseHttpRequestHandler.java

@Sharable
public abstract class BaseHttpRequestHandler extends ChannelDuplexHandler {
    public static final AttributeKey<Boolean> HTTP_CLIENT_HANDLER_TRIGGERED_ERROR = AttributeKey
            .valueOf("__BaseHttpRequestHandler_ErrorTriggered");

    private final Logger logger = getLogger(getClass());

From source file com.king.platform.net.http.netty.HttpClientHandler.java

@Sharable
public class HttpClientHandler extends ChannelDuplexHandler {

    private final Logger logger = getLogger(getClass());
    private final HttpClientResponseHandler httpClientResponseHandler;
    private final HttpClientRequestHandler httpClientRequestHandler;

From source file com.lambdaworks.redis.RedisChannelInitializerImpl.java

/**
 * Channel initializer to set up the transport before a Redis connection can be used. This class is part of the internal API.
 * 
 * @author Mark Paluch
 */
public abstract class RedisChannelInitializerImpl extends ChannelDuplexHandler implements RedisChannelInitializer {

From source file com.linecorp.armeria.client.http.HttpClientPipelineConfigurator.java

class HttpClientPipelineConfigurator extends ChannelDuplexHandler {

    private static final Logger logger = LoggerFactory.getLogger(HttpClientPipelineConfigurator.class);

    /**
     * The maximum allowed content length of an HTTP/1 to 2 upgrade response.