protected String createURL(HTTPRequest httpRequest,HTTPClientConfiguration configuration)
    {
        //init buffer
        StringBuilder buffer=new StringBuilder(100);

        //create URL
        String resource=httpRequest.getResource();
        this.appendBaseURL(buffer,resource,configuration);
        String parameters=httpRequest.getParametersText();
        this.appendParameters(buffer,parameters);
        String url=buffer.toString();
        
        return url;
    }
protected String createURL ( HTTPRequest httpRequest , HTTPClientConfiguration configuration ) { StringBuilder buffer = new StringBuilder ( 100 ) ; String resource = httpRequest . getResource ( ) ; this . appendBaseURL ( buffer , resource , configuration ) ; String parameters = httpRequest . getParametersText ( ) ; this . appendParameters ( buffer , parameters ) ; String url = buffer . toString ( ) ; return url ; }
This function creates the full URL from the provided values.

@param   httpRequest
The HTTP request to send
@param   configuration
HTTP client configuration
@return  The full URL