code: public HttpRequest setRequestMethod(String requestMethod) {
      Preconditions.checkArgument(requestMethod == null || HttpMediaType.matchesToken(requestMethod));
      this.requestMethod = requestMethod;
      return this;
    }
docs: Sets the HTTP request method or {@code null} for none.
  
  @since 1.12