Package io.jenkins.plugins.httpclient
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(HttpUriRequest)
on HttpGet(String)
.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.http.client.methods.CloseableHttpResponse
connect
(org.apache.http.impl.client.CloseableHttpClient client)
-
Method Details
-
connect
org.apache.http.client.methods.CloseableHttpResponse connect(org.apache.http.impl.client.CloseableHttpClient client) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-