Interface RobustHTTPClient.ConnectionUser
- 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.
What to do with a successful (2xx) connection. For example, call
CloseableHttpResponse.getEntity() and HttpEntity.getContent().- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiduse(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response)
-
Method Details
-
use
void use(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-