Package org.kiwiproject.registry.util
Class ServiceInstancePaths
- java.lang.Object
-
- org.kiwiproject.registry.util.ServiceInstancePaths
-
public class ServiceInstancePaths extends Object
Utility methods for generating URLs from the service information
-
-
Constructor Summary
Constructors Constructor Description ServiceInstancePaths()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
urlForPath(String hostName, List<Port> ports, Port.PortType type, String path)
Generates a URL given service information
-
-
-
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 urlports
- The list of possible ports to usetype
- The type of port (Application versus Admin) for the urlpath
- The path to append to the url- Returns:
- The combined URL
-
-