What is the difference between the setConnectionTimeout , setSoTimeout and “http.connection-manager.timeout” in apache HttpClient API
What is the difference between the three(marked as comments) : MultiThreadedHttpConnectionManager connManag = new MultiThreadedHttpConnectionManager(); HttpConnectionManagerParams managParams = connManag.getParams(); managParams.setConnectionTimeout(connectiontimeout); // 1 managParams.setSoTimeout(sotimeout); //2 HttpMethodBase baseMethod = null; try { HttpClient client = new HttpClient(connManag); client.getParams().setParameter("http.connection-manager.timeout", poolTimeout); //3 baseMethod = new GetMethod(…); int statusCode = client.executeMethod(…); … } catch (ConnectTimeoutException cte