public abstract class ServletServerFactory
extends io.micronaut.http.ssl.SslBuilder<javax.net.ssl.SSLContext>
Modifier | Constructor and Description |
---|---|
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,
java.util.List<ServletStaticResourceConfiguration> staticResourceConfigurations)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<javax.net.ssl.SSLContext> |
build(io.micronaut.http.ssl.SslConfiguration ssl) |
java.util.Optional<javax.net.ssl.SSLContext> |
build(io.micronaut.http.ssl.SslConfiguration ssl,
io.micronaut.http.HttpVersion httpVersion) |
io.micronaut.context.ApplicationContext |
getApplicationContext() |
protected java.lang.String |
getConfiguredHost() |
protected java.lang.Integer |
getConfiguredPort() |
protected java.lang.String |
getContextPath() |
io.micronaut.context.env.Environment |
getEnvironment() |
io.micronaut.http.server.HttpServerConfiguration |
getServerConfiguration() |
io.micronaut.http.ssl.SslConfiguration |
getSslConfiguration() |
java.util.List<ServletStaticResourceConfiguration> |
getStaticResourceConfigurations() |
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, java.util.List<ServletStaticResourceConfiguration> staticResourceConfigurations)
resourceResolver
- The resource resolver.serverConfiguration
- The server configurationsslConfiguration
- The SSL configurationapplicationContext
- The app contextstaticResourceConfigurations
- The static resource definitionspublic java.util.List<ServletStaticResourceConfiguration> getStaticResourceConfigurations()
public io.micronaut.context.env.Environment getEnvironment()
public io.micronaut.context.ApplicationContext getApplicationContext()
protected java.lang.String getContextPath()
public io.micronaut.http.server.HttpServerConfiguration getServerConfiguration()
public io.micronaut.http.ssl.SslConfiguration getSslConfiguration()
public java.util.Optional<javax.net.ssl.SSLContext> build(io.micronaut.http.ssl.SslConfiguration ssl)
build
in class io.micronaut.http.ssl.SslBuilder<javax.net.ssl.SSLContext>
public java.util.Optional<javax.net.ssl.SSLContext> build(io.micronaut.http.ssl.SslConfiguration ssl, io.micronaut.http.HttpVersion httpVersion)
build
in class io.micronaut.http.ssl.SslBuilder<javax.net.ssl.SSLContext>
protected java.lang.String getConfiguredHost()
protected java.lang.Integer getConfiguredPort()