Code example for ClientConnectionManager

Methods: getSchemeRegistry

0
	public static DefaultHttpClient getThreadSafeClient()
	{ 
		DefaultHttpClient client = new DefaultHttpClient();
		ClientConnectionManager manager = client.getConnectionManager();
		HttpParams params = client.getParams();
		client = new DefaultHttpClient(new ThreadSafeClientConnManager(params, manager.getSchemeRegistry()), params);
		return client;
	} 
	 
	public String getSession()
	{ 
		List<Cookie> a = cookieStore.getCookies();
		Cookie b = a.get(0);
		return b.getValue();
	} 
 
//*************************************************************************************** 
//	 
//*************************************************************************************** 
	private String postPage(String URL, List<NameValuePair> nvps) throws Exception 
	{