List of usage examples for io.netty.channel ChannelInitializer subclass-usage
From source file com.hop.hhxx.example.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.hop.hhxx.example.http.snoop.HttpSnoopClientInitializer.java
public class HttpSnoopClientInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; public HttpSnoopClientInitializer(SslContext sslCtx) { this.sslCtx = sslCtx;
From source file com.hop.hhxx.example.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.hop.hhxx.example.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.hop.hhxx.example.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.hop.hhxx.example.http.websocketx.benchmarkserver.WebSocketServerInitializer.java
/** */ public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;
From source file com.hop.hhxx.example.http.websocketx.server.WebSocketServerInitializer.java
/** */ public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> { private static final String WEBSOCKET_PATH = "/websocket";
From source file com.hop.hhxx.example.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.hop.hhxx.example.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.hop.hhxx.example.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> {