Package io.jenkins.plugins.httpclient
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
HttpResponse.getEntity()
and HttpEntity.getContent()
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
use
(org.apache.http.client.methods.CloseableHttpResponse response)
-
Method Details
-
use
void use(org.apache.http.client.methods.CloseableHttpResponse response) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-