Class HttpUtils
java.lang.Object
net.adoptopenjdk.icedteaweb.http.HttpUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidEnsure a CloseableHttpConnection is fully read, required for correct behavior.static voidEnsure a CloseableHttpConnection is fully read, required for correct behavior.static String
-
Field Details
-
LOG
-
-
Constructor Details
-
HttpUtils
private HttpUtils()
-
-
Method Details
-
consumeAndCloseConnectionSilently
Ensure a CloseableHttpConnection is fully read, required for correct behavior. Any thrown IOException is consumed and logged- Parameters:
c- the connection to be closed silently
-
consumeAndCloseConnection
Ensure a CloseableHttpConnection is fully read, required for correct behavior.- Parameters:
c- connection to be closed- Throws:
IOException- if an I/O exception occurs.
-
lastModifiedDate
-