ハンドラー パイプラインから特定のハンドラーを削除しようとしていますが、うまくいきません。前後のパイプラインのハンドラーをリストすると、削除しようとしたハンドラーがまだそこにあります。それで、私はここで何が間違っていますか?コードスニペットを次に示します。これらはすべて起動段階にあります。最後に行うことは、パイプライン ファクトリの構成であることがわかります。Netty 3.6.1.final を使用しています。
    List<String> handlers = new ArrayList<String>();
    // list handlers in the pipeline
    try {
        handlers = this.pipelineFactory.getPipeline().getNames();
        for (int len = handlers.size(), i = 0; i < len; i++) {
          String s = handlers.get(i);
          System.out.println("Item " + i + " is " + s);
        }
    } catch( Exception e ) {}
    try {
        System.out.println("Remove hexdump");
        this.pipelineFactory.getPipeline().remove("hexdump");
    } catch( Exception e ) {
       System.out.println("error = " + e.getMessage());
    }
    try {
        handlers = this.pipelineFactory.getPipeline().getNames();
        for (int len = handlers.size(), i = 0; i < len; i++) {
          String s = handlers.get(i);
          System.out.println("Item " + i + " is " + s);
        }
    } catch( Exception e ) {}
    // Configure the pipeline factory.
    this.bootstrap.setPipelineFactory(this.pipelineFactory);
出力は次のとおりです。
Item 0 is framer
Item 1 is hexdump
Item 2 is handler
Remove hexdump
Item 0 is framer
Item 1 is hexdump    
Item 2 is handler