Class HttpUtil


  • public class HttpUtil
    extends Object
    • Constructor Detail

      • HttpUtil

        public HttpUtil()
    • Method Detail

      • getNotValidatingClient

        public static org.apache.http.impl.client.CloseableHttpClient getNotValidatingClient​(int timeout,
                                                                                             String proxyServer,
                                                                                             Integer proxyPort,
                                                                                             String proxyUser,
                                                                                             String proxyPassword)
      • getNotValidatingClient

        public static org.apache.http.impl.client.CloseableHttpClient getNotValidatingClient​(int timeout)
      • close

        public static void close​(org.apache.http.client.methods.CloseableHttpResponse response)
      • getBodyString

        public static String getBodyString​(org.apache.http.client.methods.CloseableHttpResponse response)