Subversion Repositories SmartDukaan

Rev

Rev 16541 | Rev 16569 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16541 Rev 16568
Line 341... Line 341...
341
	public static String getDtrAffiliateString(Long entityId){
341
	public static String getDtrAffiliateString(Long entityId){
342
		HttpClient httpclient = new DefaultHttpClient();
342
		HttpClient httpclient = new DefaultHttpClient();
343
		
343
		
344
		String url = String.format(DTR_ENTITY_URL, entityId);
344
		String url = String.format(DTR_ENTITY_URL, entityId);
345
		HttpGet httpget = new HttpGet(url);
345
		HttpGet httpget = new HttpGet(url);
346
		String str = "";
346
		String str = "{}";
347
		// If the response does not enclose an entity, there is no need
347
		// If the response does not enclose an entity, there is no need
348
	  // to worry about connection release
348
	  // to worry about connection release
349
		try{
349
		try{
350
			HttpResponse response = httpclient.execute(httpget);
350
			HttpResponse response = httpclient.execute(httpget);
351
			// Get hold of the response entity
351
			// Get hold of the response entity