List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file io.netty.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 io.netty.example.memcache.binary.MemcacheClientHandler.java
public class MemcacheClientHandler extends ChannelDuplexHandler { /** * Transforms basic string requests to binary memcache requests */ @Override
From source file io.netty.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 io.netty.example.spdy.client.SpdyFrameLogger.java
/** * Logs SPDY frames for debugging purposes. */ public class SpdyFrameLogger extends ChannelDuplexHandler { private enum Direction {
From source file io.nodyn.netty.AbstractEventSourceHandler.java
/** * @author Bob McWhirter */ public class AbstractEventSourceHandler extends ChannelDuplexHandler { protected final NodeProcess process;
From source file io.nodyn.netty.DebugHandler.java
/** * @author Bob McWhirter */ public class DebugHandler extends ChannelDuplexHandler { private final String name;
From source file io.pravega.shared.protocol.netty.ExceptionLoggingHandler.java
/** * Used to make sure any stray exceptions that make it back to the socket get logged. */ @Slf4j public class ExceptionLoggingHandler extends ChannelDuplexHandler {
From source file io.reactivesocket.transport.tcp.ReactiveSocketFrameCodec.java
/** * A Codec that aids reading and writing of ReactiveSocket {@link Frame}s. */ public class ReactiveSocketFrameCodec extends ChannelDuplexHandler { private final MutableDirectByteBuf buffer = new MutableDirectByteBuf(Unpooled.buffer(0));
From source file io.reactivex.netty.contexts.AbstractContextHandler.java
/**
*
* @param <R> The type of object this handler will read.
* @param <W> The type of object this handler will write.
*
* @author Nitesh Kant
From source file io.reactivex.netty.metrics.BytesInspector.java
/** * @author Nitesh Kant */ @ChannelHandler.Sharable public class BytesInspector extends ChannelDuplexHandler {