List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file com.eucalyptus.ws.handlers.IoSoapMarshallingHandler.java
@ChannelHandler.Sharable public class IoSoapMarshallingHandler extends ChannelDuplexHandler { @Override public void channelRead(final ChannelHandlerContext ctx, final Object msg) throws Exception { if (msg instanceof IoMessage) {
From source file com.eucalyptus.ws.handlers.IoWsSecHandler.java
/** * */ public abstract class IoWsSecHandler extends ChannelDuplexHandler { private static Logger LOG = Logger.getLogger(IoWsSecHandler.class);
From source file com.farsunset.cim.sdk.android.filter.CIMLoggingHandler.java
@Sharable public class CIMLoggingHandler extends ChannelDuplexHandler { private final static String TAG = "CIM"; private boolean debug = true;
From source file com.flysoloing.learning.network.netty.binary.MemcacheClientHandler.java
public class MemcacheClientHandler extends ChannelDuplexHandler { /** * Transforms basic string requests to binary memcache requests */ @Override
From source file com.flysoloing.learning.network.netty.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.flysoloing.learning.network.netty.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.flysoloing.learning.network.netty.spdy.client.SpdyFrameLogger.java
/** * Logs SPDY frames for debugging purposes. */ public class SpdyFrameLogger extends ChannelDuplexHandler { private enum Direction {
From source file com.github.ambry.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.github.ambry.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.github.ambry.rest.PublicAccessLogRequestHandler.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 PublicAccessLogRequestHandler extends ChannelDuplexHandler { private final PublicAccessLogger publicAccessLogger;