List of usage examples for io.netty.channel ChannelInitializer subclass-usage
From source file com.github.nettybook.ch8.HttpSnoopServerInitializer.java
public class HttpSnoopServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; public HttpSnoopServerInitializer(SslContext sslCtx) { this.sslCtx = sslCtx;
From source file com.github.nettybook.ch8.TelnetServerInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class TelnetServerInitializer extends ChannelInitializer<SocketChannel> { private static final StringDecoder DECODER = new StringDecoder(CharsetUtil.UTF_8); private static final StringEncoder ENCODER = new StringEncoder(CharsetUtil.UTF_8);
From source file com.github.picto.network.exemple.HttpSnoopClientInitializer.java
public class HttpSnoopClientInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx; private final AtomicBoolean shouldEnd;
From source file com.github.rmannibucau.featuredmock.http.FeaturedChannelInitializer.java
class FeaturedChannelInitializer extends ChannelInitializer<SocketChannel> { private final SslHandler sslHandler; private final FeaturedHandler handler; public FeaturedChannelInitializer(final ContentTypeMapper[] mappers, final SSLEngine engine) { if (engine == null) {
From source file com.github.sinsinpub.pero.backend.ProxyChannelInitializer.java
public final class ProxyChannelInitializer extends ChannelInitializer<SocketChannel> { private final Promise<Channel> promise; private final ProxyHandler proxyHandler; public ProxyChannelInitializer(Promise<Channel> promise, ProxyHandler proxyHandler) {
From source file com.github.sinsinpub.pero.frontend.SocksServerInitializer.java
@PetiteBean @Component @Singleton public final class SocksServerInitializer extends ChannelInitializer<SocketChannel> { @PetiteInject
From source file com.github.unafraid.signer.server.ServerInitializer.java
public class ServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext _sslCtx; public ServerInitializer(SslContext sslCtx) { _sslCtx = sslCtx;
From source file com.github.wangshuwei5.client.NettyClientInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class NettyClientInitializer extends ChannelInitializer<SocketChannel> { private String tlsMode;
From source file com.github.wangshuwei5.server.NettyServerInitializer.java
/** * Creates a newly configured {@link ChannelPipeline} for a new channel. */ public class NettyServerInitializer extends ChannelInitializer<SocketChannel> { private String tlsMode;
From source file com.github.wolf480pl.ircd.netty.IRCChannelInitializer.java
public class IRCChannelInitializer extends ChannelInitializer<SocketChannel> { public static final int MAX_LINE_LENGTH = 512; public static final int IDLE_TIMEOUT = 30; public static final Charset CHARSET = Charset.forName("UTF-8"); private final SessionHandler handler;