public class HttpClientUtils {
private static final Logger LOGGER = Logger.getLogger(HttpClientUtils.class);
private static int SOCKET_TIMEOUT = 20000;
private static int CONNECT_TIMEOUT = 20000;
private static int CONNECT_REQUEST_TIMEOUT = 20000;
private static int MAX_TOTAL = 200;
private static int REQUEST_RETRY = 3;
// private static String USER_AGENT = "Mozilla/4.0 (compatible; MSIE 8.0;
// Windows XP)";
private static RequestConfig requestConfig = null;
private static PoolingHttpClientConnectionManager conMgr = null;
private static DefaultHttpRequestRetryHandler retr