java.lang.Object
cloud.piranha.server.ServerPiranhaBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
The builder so you can easily build instances of
ServerPiranha
.
This module and distribution is deprecated. Please use the cloud.piranha.dist.server module and its distribution instead.
- Author:
- Manfred Riem (mriem@manorrock.com)
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated, for removal: This API element is subject to removal in a future version.Build the server.defaultExtensionClass
(Class<? extends cloud.piranha.core.api.WebApplicationExtension> defaultExtensionClass) Deprecated, for removal: This API element is subject to removal in a future version.Set the default extension class.defaultExtensionClass
(String defaultExtensionClassName) Deprecated, for removal: This API element is subject to removal in a future version.Set the default extension class.exitOnStop
(boolean exitOnStop) Deprecated, for removal: This API element is subject to removal in a future version.Set the exit on stop flag.httpPort
(int httpPort) Deprecated, for removal: This API element is subject to removal in a future version.Set the HTTP server port.httpsPort
(int httpsPort) Deprecated, for removal: This API element is subject to removal in a future version.Set the HTTPS server port.jpms
(boolean jpms) Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable JPMS.sslKeystoreFile
(String sslKeystoreFile) Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL keystore file.sslKeystorePassword
(String sslKeystorePassword) Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL keystore password.sslTruststoreFile
(String sslTruststoreFile) Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL truststore file.sslTruststorePassword
(String sslTruststorePassword) Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL truststore password.verbose
(boolean verbose) Deprecated, for removal: This API element is subject to removal in a future version.Set the verbose flag.webAppsDir
(String webAppsDir) Deprecated, for removal: This API element is subject to removal in a future version.Set the web applications directory.
-
Constructor Details
-
ServerPiranhaBuilder
public ServerPiranhaBuilder()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
build
Deprecated, for removal: This API element is subject to removal in a future version.Build the server.- Returns:
- the server.
-
defaultExtensionClass
public ServerPiranhaBuilder defaultExtensionClass(Class<? extends cloud.piranha.core.api.WebApplicationExtension> defaultExtensionClass) Deprecated, for removal: This API element is subject to removal in a future version.Set the default extension class.- Parameters:
defaultExtensionClass
- the default extension class.- Returns:
- the builder.
-
defaultExtensionClass
Deprecated, for removal: This API element is subject to removal in a future version.Set the default extension class.- Parameters:
defaultExtensionClassName
- the default extension class name.- Returns:
- the builder.
-
exitOnStop
Deprecated, for removal: This API element is subject to removal in a future version.Set the exit on stop flag.- Parameters:
exitOnStop
- the exit on stop flag.- Returns:
- the builder.
-
httpPort
Deprecated, for removal: This API element is subject to removal in a future version.Set the HTTP server port.- Parameters:
httpPort
- the HTTP server port.- Returns:
- the builder.
-
httpsPort
Deprecated, for removal: This API element is subject to removal in a future version.Set the HTTPS server port.- Parameters:
httpsPort
- the HTTPS server port.- Returns:
- the builder.
-
jpms
Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable JPMS.- Parameters:
jpms
- the JPMS flag.- Returns:
- the builder.
-
sslKeystoreFile
Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL keystore file.- Parameters:
sslKeystoreFile
- the SSL keystore file.- Returns:
- the builder.
-
sslKeystorePassword
Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL keystore password.- Parameters:
sslKeystorePassword
- the SSL keystore password.- Returns:
- the builder.
-
sslTruststoreFile
Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL truststore file.- Parameters:
sslTruststoreFile
- the SSL truststore file.- Returns:
- the builder.
-
sslTruststorePassword
Deprecated, for removal: This API element is subject to removal in a future version.Set the SSL truststore password.- Parameters:
sslTruststorePassword
- the SSL truststore password.- Returns:
- the builder.
-
verbose
Deprecated, for removal: This API element is subject to removal in a future version.Set the verbose flag.- Parameters:
verbose
- the verbose flag.- Returns:
- the builder.
-
webAppsDir
Deprecated, for removal: This API element is subject to removal in a future version.Set the web applications directory.- Parameters:
webAppsDir
- the web applications directory.- Returns:
- the builder.
-