- All Known Implementing Classes:
DefaultDomainNameResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A resolver function used by the driver to resolve domain names.
-
Method Summary
Modifier and TypeMethodDescriptionResolve the given domain name to a set of addresses.
-
Method Details
-
resolve
Resolve the given domain name to a set of addresses.- Parameters:
name- the name to resolve.- Returns:
- the resolved addresses.
- Throws:
UnknownHostException- must be thrown if the given name can not be resolved to at least one address.
-