URL url = new URL(this.url);
// Add Authentication headers, if necessary. This is the first
// step to allow authentication to add extra headers, HTTP parameters,
// etc.
Authentication authentication = theRequest.getAuthentication();
if (authentication != null)
{
authentication.configure(theRequest, theConfiguration);
}
// Add the parameters that need to be passed as part of the URL
url = HttpUtil.addHttpGetParameters(theRequest, url);