ChannelPipeline にデコンプレッサとコンプレッサが導入されていますが、特定のクラスに導入された両方のメソッドの実行時間と比較して、実行時間が長すぎます。
@Override
public ChannelPipeline getPipeline() throws Exception {
ChannelPipeline pipeline = pipeline();
pipeline.addLast("decoder",new IcapRequestDecoder(maxInitialLineLength, maxIcapHeaderSize, maxHttpHeaderSize, maxChunkSize));
pipeline.addLast("chunkAggregator",new IcapChunkAggregator(maxContentLength));
pipeline.addLast("decompressor",new IcapContentDecompressor());
pipeline.addLast("encoder",new IcapResponseEncoder());
pipeline.addLast("chunkSeparator",new IcapChunkSeparator(maxContentLength));
pipeline.addLast("handler", handler);
pipeline.addLast("compressor",new IcapContentCompressor());
return pipeline;
}
原因は何ですか?