in impl/src/main/java/org/apache/peeco/impl/PeecoChannelInitializer.java [43:55]
public void initChannel(SocketChannel ch)
{
ChannelPipeline p = ch.pipeline();
if (this.sslCtx != null)
{
p.addLast(this.sslCtx.newHandler(ch.alloc()));
}
p.addLast(new HttpServerCodec());
p.addLast(new HttpServerExpectContinueHandler());
p.addLast("aggregator", new HttpObjectAggregator(Short.MAX_VALUE));
p.addLast(new PeecoChannelHandler(httpHandlerInfos));
}