use of org.jboss.netty.handler.codec.http.HttpChunkAggregator in project socket.io-netty by ibdknox.
the class WebSocketServerPipelineFactory method getPipeline.
public ChannelPipeline getPipeline() throws Exception {
// Create a default pipeline implementation.
ChannelPipeline pipeline = pipeline();
pipeline.addLast("decoder", new HttpRequestDecoder());
pipeline.addLast("aggregator", new HttpChunkAggregator(65536));
pipeline.addLast("encoder", new HttpResponseEncoder());
pipeline.addLast("handler", socketHandler);
return pipeline;
}
Aggregations