Code example for HttpGet

Methods: setURI

0
		String url = APIDomain + "?" + queryStr + "&H=" + hashStr;
		 
		Log.v("final", url);
		 
		URI finalURI = new URI(url);
		request.setURI(finalURI);
	} 
	 
	//ִ��request 
	public void executeRequest() throws Exception 
	{ 
		this.buildURL();
		HttpResponse response = httpClient.execute(request);
		 
		switch(response.getStatusLine().getStatusCode())
		{ 
			case 200: 
			{ 
				this.requestFinished(response);
			} 
				break;