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.github.ambry.rest.EchoMethodHandler.java

/**
 * Handler to echo the Method type of the request.
 * Used purely for testing purposes
 */
public class EchoMethodHandler extends SimpleChannelInboundHandler<HttpObject> {
    private final Logger logger = LoggerFactory.getLogger(getClass());

From source file com.github.ambry.rest.NettyMessageProcessor.java

/**
 * Inbound request handler for Netty.
 * <p/>
 * It processes a request (in parts) by converting it from Netty specific objects ({@link HttpObject},
 * {@link HttpRequest}, {@link HttpContent}) into {@link RestRequest}, a generic request object that all the RESTful
 * layers can understand and passes it down the pipeline to a {@link BlobStorageService} through a

From source file com.github.ambry.rest.NettyResponseChannelTest.java

/**
 * A test handler that forms the pipeline of the {@link EmbeddedChannel} used in tests.
 * <p/>
 * Exposes some URI strings through which a predefined flow can be executed and verified.
 */
class MockNettyMessageProcessor extends SimpleChannelInboundHandler<HttpObject> {

From source file com.github.jonbonazza.puni.core.handlers.RequestHandler.java

/**
 * Netty Channel handler that muxes incoming http requests before handling them.
 */
public class RequestHandler extends SimpleChannelInboundHandler<FullHttpRequest> {

    private Muxer muxer;

From source file com.github.lburgazzoli.quickfixj.transport.netty.NettyChannelHandler.java

/**
 *
 */
public final class NettyChannelHandler extends SimpleChannelInboundHandler<byte[]> {

    private static final Logger LOGGER = LoggerFactory.getLogger(NettyChannelHandler.class);

From source file com.github.mrstampy.gameboot.otp.netty.OtpEncryptedNettyHandler.java

/**
 * The Class OtpEncryptedNettyInboundHandler is the last handler added in a
 * pipeline intended to process {@link OtpMessage}s. The connection must be
 * encrypted sending byte arrays as messages. Should these conditions fail the
 * connection will be terminated.<br>
 * <br>

From source file com.github.mrstampy.gameboot.otp.websocket.client.WebSocketHandler.java

/**
 * The Class WebSocketHandler.
 */
public class WebSocketHandler extends SimpleChannelInboundHandler<Object> {
    private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

From source file com.github.mrstampy.kitchensync.netty.handler.AbstractKiSyNettyHandler.java

/**
 * Abstract superclass providing the ability to handle string and byte array
 * messages and providing the ability to specify a custom
 * {@link KiSyInboundMessageManager}.
 *
 * @param <MSG>

From source file com.github.netfreer.shadowducks.client.handler.SocksServerConnectHandler.java

@ChannelHandler.Sharable
public final class SocksServerConnectHandler extends SimpleChannelInboundHandler<SocksMessage> {
    InternalLogger logger = InternalLoggerFactory.getInstance(getClass());
    private final Bootstrap b = new Bootstrap();

    @Override

From source file com.github.netfreer.shadowducks.client.handler.SocksServerHandler.java

@ChannelHandler.Sharable
public final class SocksServerHandler extends SimpleChannelInboundHandler<SocksMessage> {

    public static final SocksServerHandler INSTANCE = new SocksServerHandler();

    private SocksServerHandler() {