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

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

Introduction

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

Usage

From source file com.tesora.dve.parlb.LoadBalancerProxyInitializer.java

public class LoadBalancerProxyInitializer extends ChannelInitializer<SocketChannel> {

    private static Logger logger = Logger.getLogger(LoadBalancerProxyInitializer.class);

    HazelcastGroupClient hazelcastClient;

From source file com.test.socket.SessionClientInitializer.java

public class SessionClientInitializer extends ChannelInitializer<SocketChannel> {

    @Override
    public void initChannel(SocketChannel ch) throws Exception {
        ChannelPipeline p = ch.pipeline();
        p.addLast("frameDecoder", new ProtobufVarint32FrameDecoder());

From source file com.thomas.netty4.websocket.server.GxWebSocketServerInitializer.java

/**
 */
public class GxWebSocketServerInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

From source file com.titilink.camel.rest.client.HttpClientInitializer.java

/**
 * ?
 * <p>
 * @author by kam
 * @date 2015/05/01
 * @since v1.0.0

From source file com.titilink.camel.rest.server.HttpServerInitializer.java

/**
 * ChannelPipeline?
 * <p>
 * @author by kam
 * @date 2015/05/01
 * @since v1.0.0

From source file com.tongtech.tis.fsc.TisFscServerInitializer.java

public class TisFscServerInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

    public TisFscServerInitializer(SslContext sslCtx) {
        this.sslCtx = sslCtx;

From source file com.tongtech.tis.fsc.upload.HttpUploadClientIntializer.java

public class HttpUploadClientIntializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

    public HttpUploadClientIntializer(SslContext sslCtx) {
        this.sslCtx = sslCtx;

From source file com.topsec.bdc.platform.api.test.http.cors.HttpCorsServerInitializer.java

/**
 * Please refer to the {@link CorsConfig} javadocs for information about all the configuration options available.
 * 
 * Below are some of configuration discussed in this example: <h3>Support only a specific origin</h3> To support a single origin instead of the wildcard use the following:
 * 
 * <pre>

From source file com.topsec.bdc.platform.api.test.http.file.HttpStaticFileServerInitializer.java

public class HttpStaticFileServerInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

    public HttpStaticFileServerInitializer(SslContext sslCtx) {