code: public static Route registerEndpoint(
        String api_name, String method_uri, Class<? extends Handler> handler_class, String handler_method, String summary
    ) {
      String[] spl = method_uri.split(" ");
      assert spl.length == 2 : "Unexpected method_uri parameter: " + method_uri;
      return registerEndpoint(api_name, spl[0], spl[1], handler_class, handler_method, summary, HandlerFactory.DEFAULT);
    }
docs: Register an HTTP request handler method for a given URL pattern, with parameters extracted from the URI.
  <p>
  URIs which match this pattern will have their parameters collected from the path and from the query params
  
  @param api_name suggested method name for this endpoint in the external API library. These names should be
  unique. If null, the api_name will be created from the class name and the handler method name.
  @param method_uri combined method / url pattern of the request, e.g.: "GET /3/Jobs/{job_id}"
  @param handler_class class which contains the handler method
  @param handler_method name of the handler method
  @param summary help string which explains the functionality of this endpoint
  @see Route
  @see water.api.RequestServer
  @return the Route for this request