Package com.iizix.comm
Class PortConfig
java.lang.Object
com.iizix.comm.PortConfig
Input-output class used to hold information of the started port of a category. It is used to configure the external host name if undefined.
- Author:
- Christopher Mindus
Field Summary
Modifier and TypeFieldDescriptionfinal String
The bind address, null for none.final IPortController
Interface for the port control, never null.final boolean
Flag for secure port by means of front-end proxy, even if theisHTTPS
flag is false.final boolean
Flag for HTTPS.final int
The port number, zero for none.Constructor Summary
ConstructorDescriptionPortConfig
(int port, boolean isHTTPS, boolean isFrontEndSecured, String bind, IPortController controller) Constructor.Method Summary
Modifier and TypeMethodDescriptionvoid
Restarts the Jetty (HTTPS) server connector after Let's Encrypt domain certificate renewal.
Field Details
port
public final int portThe port number, zero for none.isHTTPS
public final boolean isHTTPSFlag for HTTPS.isFrontEndSecured
public final boolean isFrontEndSecuredFlag for secure port by means of front-end proxy, even if theisHTTPS
flag is false.bind
The bind address, null for none.controller
Interface for the port control, never null.
Constructor Details
PortConfig
public PortConfig(int port, boolean isHTTPS, boolean isFrontEndSecured, String bind, IPortController controller) Constructor.- Parameters:
port
- The port number, zero for none.isHTTPS
- Flag for HTTPS.isFrontEndSecured
- Flag for secure port by means of front-end proxy, even if theisHTTPS
flag is false.bind
- The bind address, null for none.controller
- The port controller, never null.
Method Details
restartConnector
public void restartConnector()Restarts the Jetty (HTTPS) server connector after Let's Encrypt domain certificate renewal.