Class BambooNetworkUtils

java.lang.Object
com.atlassian.bamboo.utils.BambooNetworkUtils

public class BambooNetworkUtils extends Object
  • Constructor Details

    • BambooNetworkUtils

      public BambooNetworkUtils()
  • Method Details

    • getReachableAddress

      public static InetAddress getReachableAddress(String address, int port)
      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

      public static InetAddress getInetAddressByName(String host)
      Equivalent of InetAddress.getByName(String)}, throwing RuntimeException.