List of usage examples for io.netty.channel ChannelInitializer subclass-usage
From source file com.lxz.talk.websocketx.server.WebSocketServerInitializer.java
/** */ public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> { private final SslContext sslCtx;
From source file com.mapple.http.HttpHelloWorldServerInitializer.java
public class HttpHelloWorldServerInitializer extends ChannelInitializer<SocketChannel> { @Override public void initChannel(SocketChannel ch) { ChannelPipeline p = ch.pipeline(); p.addLast(new HttpServerCodec());
From source file com.mapple.socksproxy.SocksServerInitializer.java
public final class SocksServerInitializer extends ChannelInitializer<SocketChannel> { @Override public void initChannel(SocketChannel ch) throws Exception { ch.pipeline().addLast( // new LoggingHandler(LogLevel.DEBUG), new SocksPortUnificationServerHandler(), SocksServerHandlerEx.INSTANCE);
From source file com.mastfrog.acteur.server.PipelineFactoryImpl.java
class PipelineFactoryImpl extends ChannelInitializer<SocketChannel> { static final boolean DEFAULT_AGGREGATE_CHUNKS = true; private final Provider<ChannelHandler> handler; private @Inject(optional = true) @Named("aggregateChunks") boolean aggregateChunks = DEFAULT_AGGREGATE_CHUNKS;
From source file com.mastfrog.netty.http.client.Initializer.java
/** * * @author Tim Boudreau */ final class Initializer extends ChannelInitializer<Channel> {
From source file com.mastfrog.scamper.Init.java
/**
* Just initializes the channel, getting the adapter from the provider so that,
* if it's to be created on every request, a new one is created by Guice.
*
* @author Tim Boudreau
*/
From source file com.mc.netty.handler.TcpChannelInitializer.java
/** * TcpChannelInitializer.java??TODO ?? * @author macun 201735 ?8:56:52 */ public class TcpChannelInitializer extends ChannelInitializer<SocketChannel> {
From source file com.metasoft.empire.net.websocket.WebSocketServerInitializer.java
/** */ public class WebSocketServerInitializer extends ChannelInitializer<SocketChannel> { private static final String WEBSOCKET_PATH = "/websocket";
From source file com.miko.s4netty.worker.WorkerInitializer.java
/** * @author miroslavkopecky */ @Component @Qualifier("workerInitializer")
From source file com.mpcc.springmvc.configuration.ServerInitializer.java
/** * * @author Administrator */ public class ServerInitializer extends ChannelInitializer<SocketChannel> {