Package org.kiwiproject.registry.model
Class Port
- java.lang.Object
-
- org.kiwiproject.registry.model.Port
-
public class Port extends Object
Model that defines a port being used by a service, including the port number, the purpose of the port, and whether the port is secure or not.For the type/purpose of the port, we are assuming that a service has a separate ports for the main application and the administrative endpoints (e.g. status and health checks)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPort.PortTypeEnum defining the type of connector the port is used for.static classPort.SecurityEnum defining whether the port is secure or not
-
Constructor Summary
Constructors Constructor Description Port()
-