code: public void setAllowMethods(String... methods) {
          allowMethodsSet.clear();
          for (String method : methods) {
              allowMethodsSet.add(method.toUpperCase());
          }
          allowMethods = Joiner.on(",").join(allowMethodsSet);
      }
docs: Set the list of request methods that may be sent by the browser for a CORS request.
  
  setAllowMethods("GET", "PUT", "PATCH");
  
  @param methods