code: public void register(String pattern, HttpRequestHandler handler) {
          registry.register(pattern, handler);
          registry.register(pattern + "/", handler);
      }
docs: Register a path with a handler. See {@link org.apache.http.protocol.UriHttpRequestHandlerMapper}
  
  @param pattern The path to register
  @param handler The handler to handle the path