Code example for HttpHost

Methods: getHostName, getPort, getSchemeName

0
     */ 
    private URI makeURI(String path, QueryParams params)
    { 
        try 
        { 
            return URIUtils.createURI(mHttpHost.getSchemeName(),
                                      mHttpHost.getHostName(),
                                      mHttpHost.getPort(),
                                      path,
                                      params != null ? params.encode(mHttpClient) : null,
                                      null); 
        } 
        catch (URISyntaxException e)
        { 
//            android.util.Log.e(TAG, "URI syntaxError : "+e); 
            return null; 
        } 
    } 
 
    /** 
     * Executes the given HTTP request. If the server responds with an error >= 500, the entity