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 PortServiceInstance. getAdminPort()Returns the admin port of this instance, preferring the secure port (if both secure and insecure exist).PortServiceInstance. getApplicationPort()Returns the application port of this instance, preferring the secure port (if both secure and insecure exist).static PortPort. 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 PortPorts. findFirstPortPreferSecure(List<Port> ports, Port.PortType type)Finds the first port of a given type (Application or Admin) from the list.static PortPorts. 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 StringPorts. determineScheme(List<Port> ports, Port.PortType type)Determines the HTTP scheme to use for a given typestatic PortPorts. findFirstPortPreferSecure(List<Port> ports, Port.PortType type)Finds the first port of a given type (Application or Admin) from the list.static PortPorts. findPort(List<Port> ports, Port.PortType type, Port.Security security)Finds a desired port given a security and type criteria.static StringServiceInstancePaths. urlForPath(String hostName, List<Port> ports, Port.PortType type, String path)Generates a URL given service information.
-