Interface RobustHTTPClient.ConnectionCreator
- Enclosing class:
RobustHTTPClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
How to initiate a connection. For example, call
CloseableHttpClient.execute(ClassicHttpRequest) on HttpGet(String).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.client5.http.impl.classic.CloseableHttpResponseconnect(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client)
-
Method Details
-
connect
org.apache.hc.client5.http.impl.classic.CloseableHttpResponse connect(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-