@FunctionalInterface public static interface HttpClient.HttpClientFactory
Modifier and Type | Method and Description |
---|---|
HttpClient |
create(java.net.URL url,
java.lang.String requestMethod)
Creates a new instance for the given URL and a
GET request |
HttpClient create(java.net.URL url, java.lang.String requestMethod)
GET
requesturl
- the URLrequestMethod
- the HTTP request method to perform when calling