code: public void setAllowedMethods(RequestTypeEnum... theAllowedMethods) {
  		if (theAllowedMethods == null || theAllowedMethods.length == 0) {
  			myAllowedMethods = null;
  		} else {
  			myAllowedMethods = new LinkedHashSet<RequestTypeEnum>();
  			for (RequestTypeEnum next : theAllowedMethods) {
  				myAllowedMethods.add(next);
  			}
  		}
  		updateAllowHeader();
  	}
docs: Specifies the list of allowed HTTP methods (GET, POST, etc). This is provided in an <code>Allow</code> header, as required by the HTTP specification (RFC 2616).