Uses of Class
org.kiwiproject.registry.model.Port
Packages that use Port
Package
Description
-
Uses of Port in org.kiwiproject.registry.config
Methods in org.kiwiproject.registry.config that return types with arguments of type Port -
Uses of Port in org.kiwiproject.registry.model
Methods in org.kiwiproject.registry.model that return PortModifier and TypeMethodDescriptionPort.PortBuilder.build()ServiceInstance.getAdminPort()Returns the admin port of this instance, preferring the secure port (if both secure and insecure exist).ServiceInstance.getApplicationPort()Returns the application port of this instance, preferring the secure port (if both secure and insecure exist).static PortPort.of(int number, @Nullable Port.PortType portType, @Nullable Port.Security security) Convenience factory method to create a newPort.Methods in org.kiwiproject.registry.model that return types with arguments of type PortMethod parameters in org.kiwiproject.registry.model with type arguments of type PortModifier and TypeMethodDescription -
Uses of Port in org.kiwiproject.registry.util
Methods in org.kiwiproject.registry.util that return PortModifier and TypeMethodDescriptionstatic 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 PortModifier and TypeMethodDescriptionstatic 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, @Nullable String path) Generates a URL given service information.