code: public void withHttpMethod(Http method) {
          Objects.requireNonNull(method, Required.METHOD.toString());
          this.method = method;
      }
docs: Sets the HTTP method of this request
  
  @param method The controller method