コード例 #1
0
 @Override
 public ChannelPipeline addHandlers(ChannelPipeline pipeline) {
   auth.unrollStage(pipeline);
   bind.unrollStage(pipeline);
   out.unrollStage(pipeline);
   return pipeline;
 }
コード例 #2
0
 @Override
 public ChannelPipeline addHandlers(ChannelPipeline pipeline) {
   auth.unrollStage(pipeline);
   pipeline.addLast(
       "binding",
       new BindingHandler(
           BindingManager.getBinding(DEFAULT_CLOUDWATCH_SOAP_NAMESPACE),
           Pattern.compile("http://monitoring.amazonaws.com/doc/\\d\\d\\d\\d-\\d\\d-\\d\\d/")));
   return pipeline;
 }