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.fanavard.challenge.server.websocket.server.WebSocketServerInitializer.java

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

    private final SslContext sslCtx;

From source file com.fire.login.http.HttpServerInitializer.java

public class HttpServerInitializer extends ChannelInitializer<SocketChannel> {
    private HttpServerDispatcher dispatcher;

    public HttpServerInitializer(HttpServerDispatcher dispatcher) {
        this.dispatcher = dispatcher;
    }

From source file com.flowpowered.network.BasicChannelInitializer.java

/**
 * Used to initialize the channels.
 */
public class BasicChannelInitializer extends ChannelInitializer<SocketChannel> {
    private final ConnectionManager connectionManager;

From source file com.flowpowered.networking.BasicChannelInitializer.java

/**
 * Used to initialize the channels.
 */
public class BasicChannelInitializer extends ChannelInitializer<SocketChannel> {
    private final ConnectionManager connectionManager;

From source file com.flysoloing.learning.network.netty.factorial.FactorialClientInitializer.java

/**
 * Creates a newly configured {@link ChannelPipeline} for a client-side channel.
 */
public class FactorialClientInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

From source file com.flysoloing.learning.network.netty.factorial.FactorialServerInitializer.java

/**
 * Creates a newly configured {@link ChannelPipeline} for a server-side channel.
 */
public class FactorialServerInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

From source file com.flysoloing.learning.network.netty.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>

From source file com.flysoloing.learning.network.netty.http.file.HttpStaticFileServerInitializer.java

public class HttpStaticFileServerInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

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

From source file com.flysoloing.learning.network.netty.http.helloworld.HttpHelloWorldServerInitializer.java

public class HttpHelloWorldServerInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

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

From source file com.flysoloing.learning.network.netty.http.snoop.HttpSnoopClientInitializer.java

public class HttpSnoopClientInitializer extends ChannelInitializer<SocketChannel> {

    private final SslContext sslCtx;

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