Package org.exoplatform.agenda.util
Interface CalendarAddressGuard.HostResolver
- Enclosing class:
CalendarAddressGuard
- 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 its addresses; the JDK's by default.
-
Method Summary
-
Method Details
-
resolve
Resolves a host.- Parameters:
host- the host, an IPv6 literal without brackets- Returns:
- every address the host resolves to
- Throws:
UnknownHostException- when it resolves to nothing
-