code: public boolean isMethodAllowed(String method) {
  
  		return HttpMethod.isValidMethod(method) && (allowedMethods.isEmpty() || allowedMethods.contains(method));
  	}
docs: Check if the method is allowed by the resource This check is case-sensitive
  
  @param method
  @return