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 ; }
This function creates the full URL from the provided values .