java.lang.Object
is.codion.framework.servlet.EntityService
- All Implemented Interfaces:
AuxiliaryServer
Provides persistance services for Entities
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PropertyValue<String>
The https keystore to use on the classpath, this will be resolved to a temporary file and set as the codion.server.http.keyStore system property on server start Value type: String Default value: nullstatic final PropertyValue<String>
Specifies the password for the keystore used for securing http connections.static final PropertyValue<String>
Specifies the keystore to use for securing http connections.static final PropertyValue<Integer>
The port on which the http server is made available to clients.static final PropertyValue<Boolean>
Specifies whether https should be used.static final PropertyValue<Integer>
The port on which the http server is made available to clients. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Starts this servervoid
Stops this server
-
Field Details
-
HTTP_SERVER_PORT
The port on which the http server is made available to clients.- Value type: Integer
- Default value: 8080
-
HTTP_SERVER_SECURE_PORT
The port on which the http server is made available to clients.- Value type: Integer
- Default value: 4443
-
HTTP_SERVER_SECURE
Specifies whether https should be used.- Value type: Boolean
- Default value: true
-
HTTP_SERVER_CLASSPATH_KEYSTORE
The https keystore to use on the classpath, this will be resolved to a temporary file and set as the codion.server.http.keyStore system property on server start- Value type: String
- Default value: null
-
HTTP_SERVER_KEYSTORE_PATH
Specifies the keystore to use for securing http connections.- Value type: String
- Default value: null
- See Also:
-
HTTP_SERVER_KEYSTORE_PASSWORD
Specifies the password for the keystore used for securing http connections.- Value type: String
- Default value: null
-
-
Method Details
-
startServer
public void startServer()Description copied from interface:AuxiliaryServer
Starts this server- Specified by:
startServer
in interfaceAuxiliaryServer
-
stopServer
public void stopServer()Description copied from interface:AuxiliaryServer
Stops this server- Specified by:
stopServer
in interfaceAuxiliaryServer
-
serverInformation
- Specified by:
serverInformation
in interfaceAuxiliaryServer
- Returns:
- a String describing the server and its configuration, for logging purposes
-