code: public void addAllowedMethod(String method) {
  
  		Constraint.ensureNotEmpty(method, String.format("Invalid method '%s'", method));
  		Constraint.ensureTrue(HttpMethod.isValidMethod(method), String.format("Invalid method '%s'", method));
  		allowedMethods.add(method.toUpperCase());
  	}
docs: Add a method allowed by the resource
  
  @param method