public class InetIPv6Utils extends Object implements Closeable
| Constructor and Description |
|---|
InetIPv6Utils(org.springframework.cloud.commons.util.InetUtilsProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.springframework.cloud.commons.util.InetUtils.HostInfo |
convertAddress(InetAddress address) |
org.springframework.cloud.commons.util.InetUtils.HostInfo |
findFirstNonLoopbackHostInfo() |
InetAddress |
findFirstNonLoopbackIPv6Address() |
String |
findIPv6Address() |
String |
iPv6Format(String ip) |
public InetIPv6Utils(org.springframework.cloud.commons.util.InetUtilsProperties properties)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic org.springframework.cloud.commons.util.InetUtils.HostInfo findFirstNonLoopbackHostInfo()
public InetAddress findFirstNonLoopbackIPv6Address()
public String findIPv6Address()
public org.springframework.cloud.commons.util.InetUtils.HostInfo convertAddress(InetAddress address)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.