public HttpClient setURI ( final URI uri ) { final URIBuilder builder = new URIBuilder ( uri ) ; this . scheme = builder . getScheme ( ) ; this . host = builder . getHost ( ) ; this . port = builder . getPort ( ) ; this . path = builder . getPath ( ) ; this . fragment = builder . getFragment ( ) ; this . resetQueryParameters ( ) ; for ( NameValuePair nvp : builder . getQueryParams ( ) ) { this . queryParameters . add ( new BasicNameValuePair ( nvp . getName ( ) , nvp . getValue ( ) ) ) ; } return this ; }
A URI representing the Absolute URL for the Request