code: public void setMethod(String method) throws ApplicationException {
  	method = method.toLowerCase().trim();
  	if (method.equals("post")) this.method = METHOD_POST;
  	else if (method.equals("get")) this.method = METHOD_GET;
  	else if (method.equals("head")) this.method = METHOD_HEAD;
  	else if (method.equals("delete")) this.method = METHOD_DELETE;
  	else if (method.equals("put")) this.method = METHOD_PUT;
  	else if (method.equals("trace")) this.method = METHOD_TRACE;
  	else if (method.equals("options")) this.method = METHOD_OPTIONS;
  	else if (method.equals("patch")) this.method = METHOD_PATCH;
  	else throw new ApplicationException("invalid method type [" + (method.toUpperCase()) + "], valid types are POST,GET,HEAD,DELETE,PUT,TRACE,OPTIONS,PATCH");
      }
docs: set the value method GET or POST. Use GET to download a text or binary file or to create a query
  from the contents of a text file. Use POST to send information to a server page or a CGI program
  for processing. POST requires the use of a cfhttpparam tag.
  
  @param method value to set
  @throws ApplicationException