Package com.logicaldoc.util.http
Class HttpUtil
java.lang.Object
com.logicaldoc.util.http.HttpUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidclose(org.apache.hc.core5.http.ClassicHttpResponse response) static InputStreamgetBodyStream(org.apache.hc.core5.http.ClassicHttpResponse response) static StringgetBodyString(org.apache.hc.core5.http.ClassicHttpResponse response) static org.apache.hc.client5.http.impl.classic.CloseableHttpClientgetNotValidatingClient(int timeout) static org.apache.hc.client5.http.impl.classic.CloseableHttpClientgetNotValidatingClient(int timeout, String proxyServer, Integer proxyPort, String proxyUser, String proxyPassword) 
- 
Method Details- 
getNotValidatingClient
- 
getNotValidatingClientpublic static org.apache.hc.client5.http.impl.classic.CloseableHttpClient getNotValidatingClient(int timeout) 
- 
closepublic static void close(org.apache.hc.core5.http.ClassicHttpResponse response) 
- 
getBodyString
- 
getBodyStreampublic static InputStream getBodyStream(org.apache.hc.core5.http.ClassicHttpResponse response) throws IllegalStateException, IOException - Throws:
- IllegalStateException
- IOException
 
 
-