Class ServiceInstancePaths


  • public class ServiceInstancePaths
    extends Object
    Utility methods for generating URLs from the service information
    • Constructor Detail

      • ServiceInstancePaths

        public ServiceInstancePaths()
    • Method Detail

      • urlForPath

        public static String urlForPath​(String hostName,
                                        List<Port> ports,
                                        Port.PortType type,
                                        String path)
        Generates a URL given service information
        Parameters:
        hostName - The hostname for the url
        ports - The list of possible ports to use
        type - The type of port (Application versus Admin) for the url
        path - The path to append to the url
        Returns:
        The combined URL