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.

@FunctionalInterface public static interface RobustHTTPClient.ConnectionCreator
How to initiate a connection. For example, call CloseableHttpClient.execute(ClassicHttpRequest) on HttpGet(String).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hc.client5.http.impl.classic.CloseableHttpResponse
    connect(org.apache.hc.client5.http.impl.classic.CloseableHttpClient client)