Package com.atlassian.bamboo.utils
Class BambooNetworkUtils
java.lang.Object
com.atlassian.bamboo.utils.BambooNetworkUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InetAddress
getInetAddressByName
(String host) Equivalent ofInetAddress.getByName(String)
}, throwing RuntimeException.static InetAddress
getReachableAddress
(String address, int port) Does nothing for IPv4.
-
Constructor Details
-
BambooNetworkUtils
public BambooNetworkUtils()
-
-
Method Details
-
getReachableAddress
Does nothing for IPv4. For IPv6, if the port is not reachable through the default interface, it will search for a different interface and add its scope id to the returned address. -
getInetAddressByName
Equivalent ofInetAddress.getByName(String)
}, throwing RuntimeException.
-