Uses of Class
org.kiwiproject.registry.model.Port
-
Packages that use Port Package Description org.kiwiproject.registry.config org.kiwiproject.registry.model org.kiwiproject.registry.util -
-
Uses of Port in org.kiwiproject.registry.config
Methods in org.kiwiproject.registry.config that return types with arguments of type Port Modifier and Type Method Description List<Port>
ServiceInfo. getPorts()
Returns a list of port definitions that are being used by the service -
Uses of Port in org.kiwiproject.registry.model
Methods in org.kiwiproject.registry.model that return Port Modifier and Type Method Description Port
ServiceInstance. getAdminPort()
Returns the admin port of this instance, preferring the secure port (if both secure and insecure exist).Port
ServiceInstance. getApplicationPort()
Returns the application port of this instance, preferring the secure port (if both secure and insecure exist).static Port
Port. of(int number, Port.PortType portType, Port.Security security)
Convenience factory method to create a newPort
. -
Uses of Port in org.kiwiproject.registry.util
Methods in org.kiwiproject.registry.util that return Port Modifier and Type Method Description static Port
Ports. findFirstPortPreferSecure(List<Port> ports, Port.PortType type)
Finds the first port of a given type (Application or Admin) from the list.static Port
Ports. findPort(List<Port> ports, Port.PortType type, Port.Security security)
Finds a desired port given a security and type criteria.Method parameters in org.kiwiproject.registry.util with type arguments of type Port Modifier and Type Method Description static String
Ports. determineScheme(List<Port> ports, Port.PortType type)
Determines the HTTP scheme to use for a given typestatic Port
Ports. findFirstPortPreferSecure(List<Port> ports, Port.PortType type)
Finds the first port of a given type (Application or Admin) from the list.static Port
Ports. findPort(List<Port> ports, Port.PortType type, Port.Security security)
Finds a desired port given a security and type criteria.static String
ServiceInstancePaths. urlForPath(String hostName, List<Port> ports, Port.PortType type, String path)
Generates a URL given service information.
-