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 cc.agentx.client.net.nio.XConnectHandler.java

@ChannelHandler.Sharable
public final class XConnectHandler extends SimpleChannelInboundHandler<SocksCmdRequest> {
    private static final InternalLogger log;
    private static final Wrapper rawWrapper;

    static {

From source file cc.blynk.core.http.handlers.UploadHandler.java

public class UploadHandler extends SimpleChannelInboundHandler<HttpObject> {

    private static final Logger log = LogManager.getLogger(UploadHandler.class);

    private static final HttpDataFactory factory = new DefaultHttpDataFactory(true);
    final String handlerUri;

From source file cc.blynk.integration.model.websocket.AppWebSocketClientHandler.java

public class AppWebSocketClientHandler extends SimpleChannelInboundHandler<Object> {

    private static final Logger log = LogManager.getLogger(AppWebSocketClientHandler.class);

    private final WebSocketClientHandshaker handshaker;
    private ChannelPromise handshakeFuture;

From source file cc.blynk.integration.model.websocket.WebSocketClientHandler.java

public class WebSocketClientHandler extends SimpleChannelInboundHandler<Object> {

    private static final Logger log = LogManager.getLogger(WebSocketClientHandler.class);

    private final WebSocketClientHandshaker handshaker;
    private ChannelPromise handshakeFuture;

From source file cc.io.lessons.server.HttpUploadServerHandler.java

public class HttpUploadServerHandler extends SimpleChannelInboundHandler<HttpObject> {

    private static final Logger logger = Logger.getLogger(HttpUploadServerHandler.class.getName());

    private HttpRequest request;

From source file ccostello.server.GameClientMessageHandler.java

public class GameClientMessageHandler extends SimpleChannelInboundHandler<DatagramPacket> {

    private AtomicInteger count = new AtomicInteger(0);

    @Override
    public void channelRead0(ChannelHandlerContext ctx, DatagramPacket packet) throws Exception {

From source file ccostello.server.NetworkGameServerHandler.java

public class NetworkGameServerHandler extends SimpleChannelInboundHandler<DatagramPacket> {

    @Override
    public void channelRead0(ChannelHandlerContext ctx, DatagramPacket packet) throws Exception {
        //System.err.println(packet);

From source file ccwihr.client.t1.HttpUploadClientHandler.java

/**
 * Handler that just dumps the contents of the response from the server
 */
public class HttpUploadClientHandler extends SimpleChannelInboundHandler<HttpObject> {

    private boolean readingChunks;

From source file ccwihr.client.t2.Http2SettingsHandler.java

/**
 * Reads the first {@link Http2Settings} object and notifies a {@link io.netty.channel.ChannelPromise}
 */
public class Http2SettingsHandler extends SimpleChannelInboundHandler<Http2Settings> {
    private ChannelPromise promise;

From source file ccwihr.client.t2.HttpResponseHandler.java

/**
 * Process {@link io.netty.handler.codec.http.FullHttpResponse} translated from HTTP/2 frames
 */
public class HttpResponseHandler extends SimpleChannelInboundHandler<FullHttpResponse> {

    private SortedMap<Integer, Entry<ChannelFuture, ChannelPromise>> streamidPromiseMap;