Class ServletServerFactory
java.lang.Object
io.micronaut.http.ssl.SslBuilder<SSLContext>
io.micronaut.servlet.engine.server.ServletServerFactory
@Deprecated(forRemoval=true,
since="5.2.0")
public abstract class ServletServerFactory
extends io.micronaut.http.ssl.SslBuilder<SSLContext>
Deprecated, for removal: This API element is subject to removal in a future version.
Parent factory class for servlet-based servers.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ServletServerFactory
(io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.http.server.HttpServerConfiguration serverConfiguration, io.micronaut.http.ssl.SslConfiguration sslConfiguration, io.micronaut.context.ApplicationContext applicationContext, List<ServletStaticResourceConfiguration> staticResourceConfigurations) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.micronaut.http.ssl.SslConfiguration ssl) Deprecated, for removal: This API element is subject to removal in a future version.build
(io.micronaut.http.ssl.SslConfiguration ssl, io.micronaut.http.HttpVersion httpVersion) Deprecated, for removal: This API element is subject to removal in a future version.io.micronaut.context.ApplicationContext
Deprecated, for removal: This API element is subject to removal in a future version.protected String
Deprecated, for removal: This API element is subject to removal in a future version.protected Integer
Deprecated, for removal: This API element is subject to removal in a future version.protected String
Deprecated, for removal: This API element is subject to removal in a future version.io.micronaut.context.env.Environment
Deprecated, for removal: This API element is subject to removal in a future version.io.micronaut.http.server.HttpServerConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.io.micronaut.http.ssl.SslConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class io.micronaut.http.ssl.SslBuilder
getKeyManagerFactory, getKeyStore, getTrustManagerFactory, getTrustManagerFactory, getTrustStore, load
-
Constructor Details
-
ServletServerFactory
protected ServletServerFactory(io.micronaut.core.io.ResourceResolver resourceResolver, io.micronaut.http.server.HttpServerConfiguration serverConfiguration, io.micronaut.http.ssl.SslConfiguration sslConfiguration, io.micronaut.context.ApplicationContext applicationContext, List<ServletStaticResourceConfiguration> staticResourceConfigurations) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
resourceResolver
- The resource resolver.serverConfiguration
- The server configurationsslConfiguration
- The SSL configurationapplicationContext
- The app contextstaticResourceConfigurations
- The static resource definitions
-
-
Method Details
-
getStaticResourceConfigurations
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The static resource configurations.
-
getEnvironment
public io.micronaut.context.env.Environment getEnvironment()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The environment
-
getApplicationContext
public io.micronaut.context.ApplicationContext getApplicationContext()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The app context
-
getContextPath
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The context path.
-
getServerConfiguration
public io.micronaut.http.server.HttpServerConfiguration getServerConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The server config
-
getSslConfiguration
public io.micronaut.http.ssl.SslConfiguration getSslConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The SSL config
-
build
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
build
in classio.micronaut.http.ssl.SslBuilder<SSLContext>
-
build
public Optional<SSLContext> build(io.micronaut.http.ssl.SslConfiguration ssl, io.micronaut.http.HttpVersion httpVersion) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
build
in classio.micronaut.http.ssl.SslBuilder<SSLContext>
-
getConfiguredHost
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The configured host.
-
getConfiguredPort
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The configured port.
-
ServletServerFactory
instead