Interface HostResolver
public interface HostResolver
Resolves ip addresses based on a host
-
Method Summary
Modifier and TypeMethodDescriptionGet an array of IP addresses for a host
-
Method Details
-
resolve
Get an array of IP addresses for a host- Parameters:
host- host to get ip for. Can just be an ip itself- Returns:
- resolved addresses for the host
- Throws:
UnknownHostException- if the host cannot be found, orBannedHostExceptionif the ip is blacklisted
-