public void removeConsumer(NettyHttpConsumer consumer) {
   String path = pathAsKey(consumer.getConfiguration().getPath());
   ContextPathMatcher matcher =
       new DefaultContextPathMatcher(path, consumer.getConfiguration().isMatchOnUriPrefix());
   consumers.remove(matcher);
 }
 public void addConsumer(NettyHttpConsumer consumer) {
   String path = pathAsKey(consumer.getConfiguration().getPath());
   ContextPathMatcher matcher =
       new DefaultContextPathMatcher(path, consumer.getConfiguration().isMatchOnUriPrefix());
   consumers.put(matcher, new HttpServerChannelHandler(consumer));
 }