clientBootstrap.getPipeline().addLast("decoder",new IcapResponseDecoder());
clientBootstrap.getPipeline().addLast("handler",(SimpleChannelUpstreamHandler)clientHandler);
}
protected void setupCodecPipeline(ServerBootstrap serverBootstrap, ClientBootstrap clientBootstrap, Handler serverHandler, Handler clientHandler) {
serverBootstrap.getPipeline().addLast("codec",new IcapServerCodec());
serverBootstrap.getPipeline().addLast("handler",(SimpleChannelUpstreamHandler)serverHandler);
clientBootstrap.getPipeline().addLast("codec",new IcapClientCodec());
clientBootstrap.getPipeline().addLast("handler",(SimpleChannelUpstreamHandler)clientHandler);
}