Interface SafeHttpClient.HostResolver
- Enclosing class:
SafeHttpClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolves a host name to addresses (replaceable in tests to simulate DNS).
-
Method Summary
-
Method Details
-
resolve
Resolve a host name.- Throws:
UnknownHostException
-