List of usage examples for io.netty.channel ChannelInitializer subclass-usage
From source file com.flysoloing.learning.network.netty.http.snoop.HttpSnoopServerInitializer.java
public class HttpSnoopServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; public HttpSnoopServerInitializer(SslContext sslCtx) { this.sslCtx = sslCtx;
From source file com.flysoloing.learning.network.netty.http.upload.HttpUploadClientIntializer.java
public class HttpUploadClientIntializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; public HttpUploadClientIntializer(SslContext sslCtx) { this.sslCtx = sslCtx;
From source file com.flysoloing.learning.network.netty.http.upload.HttpUploadServerInitializer.java
public class HttpUploadServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; public HttpUploadServerInitializer(SslContext sslCtx) { this.sslCtx = sslCtx;
From source file com.flysoloing.learning.network.netty.http.websocketx.benchmarkserver.WebSocketServerInitializer.java
/** */ public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;
From source file com.flysoloing.learning.network.netty.http.websocketx.server.WebSocketServerInitializer.java
/** */ public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> { private static final String WEBSOCKET_PATH = "/websocket";
From source file com.flysoloing.learning.network.netty.http2.helloworld.client.Http2ClientInitializer.java
/** * Configures the client pipeline to support HTTP/2 frames. */ public class Http2ClientInitializer extends ChannelInitializer<SocketChannel> { private static final Http2FrameLogger logger = new Http2FrameLogger(INFO, Http2ClientInitializer.class);
From source file com.flysoloing.learning.network.netty.http2.helloworld.multiplex.server.Http2ServerInitializer.java
/** * Sets up the Netty pipeline for the example server. Depending on the endpoint config, sets up the * pipeline for NPN or cleartext HTTP upgrade to HTTP/2. */ public class Http2ServerInitializer extends ChannelInitializer<SocketChannel> {
From source file com.flysoloing.learning.network.netty.http2.helloworld.server.Http2ServerInitializer.java
/** * Sets up the Netty pipeline for the example server. Depending on the endpoint config, sets up the * pipeline for NPN or cleartext HTTP upgrade to HTTP/2. */ public class Http2ServerInitializer extends ChannelInitializer<SocketChannel> {
From source file com.flysoloing.learning.network.netty.proxy.HexDumpProxyInitializer.java
public class HexDumpProxyInitializer extends ChannelInitializer<SocketChannel> { private final String remoteHost; private final int remotePort; public HexDumpProxyInitializer(String remoteHost, int remotePort) {
From source file com.flysoloing.learning.network.netty.securechat.SecureChatClientInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class SecureChatClientInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;