code: public String getEncodedUrl() {
  		if (method.equals(HttpMethod.GET)) {
  			UrlBuilder builder = new UrlBuilder(url);
  			for (String name : getParams().keySet()) {
  				builder.addParameter(name, getParams().get(name));
  			}
  			return builder.toString();
  		} else {
  			return url;
  		}
  	}
docs: Get the encoded url. This returns a complete URL in the case of a HTTP GET method (async print).
  
  @return the url