Code example for DefaultHttpClient

Methods: getCookieStore

0
 
		return new DefaultHttpClient(conMgr, params);
	} 
 
	public void clearCookies() { 
		httpClient.getCookieStore().clear();
	} 
 
	public void abort() { 
		try { 
			if (httpClient != null) {
				Log.i(TAG, "Abort.");
				httpPost.abort();
			} 
		} catch (Throwable e) {
			e.printStackTrace();
			Log.e(TAG, "Failed to abort", e);
		} 
	} 
 
	public String sendPost(String url, Map<String, String> params) {