Code example for DefaultHttpClient

Methods: getConnectionManager

0
        return new Response(true, responseCode, response);
	} 
	 
	@Override 
	public synchronized void close() { 
		mHttpClient.getConnectionManager().shutdown();
	} 
 
    private static String convertStreamToString(InputStream is) {
 
        BufferedReader reader = new BufferedReader(new InputStreamReader(is));
        StringBuilder sb = new StringBuilder();
         
        String NL = System.getProperty("line.separator");
        String line = null;
        try { 
            while ((line = reader.readLine()) != null) {
                sb.append(line);
                sb.append(NL);
            } 
        } catch (IOException e) {