Package io.aether.api.common
Interface IPAddressUtil
-
- All Known Implementing Classes:
IPAddress,IPAddressV4,IPAddressV6,IPAddressWeb
public interface IPAddressUtil
-
-
Method Detail
-
of
static IPAddress[] of(java.net.URI uri)
Creates an array of IPAddress objects from a URI. Logic: 1. Resolves the host to all its IP addresses (V4/V6) for low-level clients (controllers). 2. If the host is a domain name (contains letters), also adds IPAddressWeb for modern/web clients. 3. For localhost, provides both IP V4 and the Web domain.
-
-