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.findOnlyAdminPort(List<Port> ports) Find the single admin port.static PortPorts.findOnlyApplicationPort(List<Port> ports) Find the single application port.static PortPorts.findPort(List<Port> ports, Port.PortType type, Port.Security security) Finds a desired port given a security and type criteria.Methods in org.kiwiproject.registry.util that return types with arguments of type PortModifier and TypeMethodDescriptionPorts.findAdminPorts(List<Port> ports) Find only the admin ports in the list of ports.Ports.findApplicationPorts(List<Port> ports) Find only the application ports in the list of ports.Ports.findPorts(List<Port> ports, Port.PortType portType) Find all ports having the specifiedPort.PortType.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 typePorts.findAdminPorts(List<Port> ports) Find only the admin ports in the list of ports.Ports.findApplicationPorts(List<Port> ports) Find only the application ports in the list of ports.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.findOnlyAdminPort(List<Port> ports) Find the single admin port.static PortPorts.findOnlyApplicationPort(List<Port> ports) Find the single application port.static PortPorts.findPort(List<Port> ports, Port.PortType type, Port.Security security) Finds a desired port given a security and type criteria.Ports.findPorts(List<Port> ports, Port.PortType portType) Find all ports having the specifiedPort.PortType.static StringServiceInstancePaths.urlForPath(String hostName, List<Port> ports, Port.PortType type, @Nullable String path) Generates a URL given service information.