@Override
protected void initChannel(final SocketChannel sc) throws Exception {
ChannelPipeline p = sc.pipeline();
p.addLast(new HttpContentCompressor());
p.addLast(new HttpClientCodec());
p.addLast(new HttpContentDecompressor());
p.addLast(new HttpObjectAggregator(1048576));
}
ConnectionManager.java 文件源码
java
阅读 20
收藏 0
点赞 0
评论 0
项目:HeliosStreams
作者:
评论列表
文章目录