code: public boolean remove(String path, String httpMethod) {
          if (StringUtils.isEmpty(path)) {
              throw new IllegalArgumentException("path cannot be null or blank");
          }
  
          if (StringUtils.isEmpty(httpMethod)) {
              throw new IllegalArgumentException("httpMethod cannot be null or blank");
          }
  
          // Catches invalid input and throws IllegalArgumentException
          HttpMethod method = HttpMethod.valueOf(httpMethod);
  
          return removeRoute(method, path);
      }
docs: Removes a particular route from the collection of those that have been previously routed.
  Search for a previously established routes using the given path and HTTP method, removing
  any matches that are found.
  
  @param path       the route path
  @param httpMethod the http method
  @return <tt>true</tt> if this a matching route has been previously routed
  @throws IllegalArgumentException if <tt>path</tt> is null or blank or if <tt>httpMethod</tt> is null, blank
  or an invalid HTTP method
  @since 2.2