public static Map<String, Object> get(String url, Integer connectionTimeout, Integer soTimeout, Map<String, Object> authMap) throws Exception
{
HttpClient client = getHttpClient(url, connectionTimeout, soTimeout);
HttpGet httpclient = new HttpGet(url);
if (authMap != null)
httpclient.addHeader(new BasicScheme().authenticate(new UsernamePasswordCredentials((String) authMap.get("user"), (String) authMap.get("password")), httpclient));
HttpResponse response = client.execute(httpclient);
HttpEntity resEntity = response.getEntity();
String contentCharSet = EntityUtils.getContentCharSet(resEntity);
HashMap<String, Object> map = new HashMap<String, Object>();
map.put("status", response.getStatusLine().getStatusCode());