Class HttpUtil

java.lang.Object
com.logicaldoc.util.http.HttpUtil

public class HttpUtil extends Object
  • Method Details Link icon

    • getNotValidatingClient Link icon

      public static org.apache.hc.client5.http.impl.classic.CloseableHttpClient getNotValidatingClient(int timeout, String proxyServer, Integer proxyPort, String proxyUser, String proxyPassword)
    • getNotValidatingClient Link icon

      public static org.apache.hc.client5.http.impl.classic.CloseableHttpClient getNotValidatingClient(int timeout)
    • close Link icon

      public static void close(org.apache.hc.core5.http.ClassicHttpResponse response)
    • getBodyString Link icon

      public static String getBodyString(org.apache.hc.core5.http.ClassicHttpResponse response)
    • getBodyStream Link icon

      public static InputStream getBodyStream(org.apache.hc.core5.http.ClassicHttpResponse response) throws IllegalStateException, IOException
      Throws:
      IllegalStateException
      IOException