@ Override public void setURI ( URI uri ) throws URIException { // only set the host if specified by the URI if ( uri . isAbsoluteURI ( ) ) { this . httphost = new HttpHost ( uri ) ; } // set the path, defaulting to root setPath ( uri . getPath ( ) == null ? "/" : uri . getEscapedPath ( ) ) ; setQueryString ( uri . getEscapedQuery ( ) ) ; }
Sets the URI for this method .