code: public Map<String, String> getParams(HttpMessage msg, HtmlParameter.Type type) {
  		switch (type) {
  		case form:	return this.getFormParamParser(msg.getRequestHeader().getURI().toString()).getParams(msg, type);
  		case url:	return this.getUrlParamParser(msg.getRequestHeader().getURI().toString()).getParams(msg, type);
  		default:
  					throw new InvalidParameterException("Type not supported: " + type);
  		}
  	}
docs: Returns the specified parameters for the given message based on the parser associated with the
  first context found that includes the URL for the message, or the default parser if it is not
  in a context
  @param msg
  @param type
  @return