Configuration Reference

Version:3.2.2

Http Server Jetty Config Properties

🔗
Table 1. Configuration Properties for JettyConfiguration
Property Type Description

micronaut.server.jetty.idle-timeout

long

micronaut.server.jetty.persistent-connections-enabled

boolean

micronaut.server.jetty.send-server-version

boolean

micronaut.server.jetty.send-xpowered-by

boolean

micronaut.server.jetty.send-date-header

boolean

micronaut.server.jetty.delay-dispatch-until-content

boolean

micronaut.server.jetty.customizers

java.util.List

micronaut.server.jetty.output-buffer-size

int

micronaut.server.jetty.output-aggregation-size

int

micronaut.server.jetty.request-header-size

int

micronaut.server.jetty.response-header-size

int

micronaut.server.jetty.header-cache-size

int

micronaut.server.jetty.secure-port

int

micronaut.server.jetty.secure-scheme

java.lang.String

micronaut.server.jetty.form-encoded-methods

java.lang.String

micronaut.server.jetty.max-error-dispatches

int

micronaut.server.jetty.min-request-data-rate

long

micronaut.server.jetty.min-response-data-rate

long

micronaut.server.jetty.request-cookie-compliance

org.eclipse.jetty.http.CookieCompliance

micronaut.server.jetty.response-cookie-compliance

org.eclipse.jetty.http.CookieCompliance

micronaut.server.jetty.multi-part-form-data-compliance

org.eclipse.jetty.server.MultiPartFormDataCompliance

micronaut.server.jetty.notify-remote-async-errors

boolean

micronaut.server.jetty.relative-redirect-allowed

boolean

micronaut.server.jetty.init-parameters

java.util.Map

Sets the servlet init parameters.

🔗
Table 2. Configuration Properties for JettySslConfiguration
Property Type Description

micronaut.server.jetty.ssl.sni-host-check

boolean

micronaut.server.jetty.ssl.sni-required

boolean

micronaut.server.jetty.ssl.sts-max-age

long

micronaut.server.jetty.ssl.sts-include-sub-domains

boolean

micronaut.server.jetty.ssl.ssl-session-attribute

java.lang.String

Http Server Tomcat Config Properties

🔗
Table 3. Configuration Properties for TomcatConfiguration
Property Type Description

micronaut.server.tomcat.service

org.apache.catalina.Service

micronaut.server.tomcat.allow-trace

boolean

micronaut.server.tomcat.async-timeout

long

micronaut.server.tomcat.discard-facades

boolean

micronaut.server.tomcat.enable-lookups

boolean

micronaut.server.tomcat.max-cookie-count

int

micronaut.server.tomcat.max-parameter-count

int

micronaut.server.tomcat.max-post-size

int

micronaut.server.tomcat.max-save-post-size

int

micronaut.server.tomcat.parse-body-methods

java.lang.String

micronaut.server.tomcat.port

int

micronaut.server.tomcat.port-offset

int

micronaut.server.tomcat.proxy-name

java.lang.String

micronaut.server.tomcat.proxy-port

int

micronaut.server.tomcat.redirect-port

int

micronaut.server.tomcat.scheme

java.lang.String

micronaut.server.tomcat.secure

boolean

micronaut.server.tomcat.uriencoding

java.lang.String

micronaut.server.tomcat.use-body-encoding-for-uri

boolean

micronaut.server.tomcat.xpowered-by

boolean

micronaut.server.tomcat.use-ipvhosts

boolean

micronaut.server.tomcat.encoded-solidus-handling

java.lang.String

micronaut.server.tomcat.domain

java.lang.String

micronaut.server.tomcat.throw-on-failure

boolean

micronaut.server.tomcat.protocol

java.lang.String

The protocol to use. Defaults to org.apache.coyote.http11.Http11NioProtocol.

micronaut.server.tomcat.attributes

java.util.Map

The connector attributes

Http Server Undertow Config Properties

🔗
Table 4. Configuration Properties for UndertowConfiguration
Property Type Description

micronaut.server.undertow.buffer-size

int

micronaut.server.undertow.io-threads

int

micronaut.server.undertow.worker-threads

int

micronaut.server.undertow.direct-buffers

boolean

micronaut.server.undertow.handler

io.undertow.server.HttpHandler

micronaut.server.undertow.worker

org.xnio.XnioWorker

micronaut.server.undertow.ssl-engine-delegated-task-executor

java.util.concurrent.Executor

micronaut.server.undertow.byte-buffer-pool

io.undertow.connector.ByteBufferPool

micronaut.server.undertow.worker-options

java.util.Map

Sets the worker options.

micronaut.server.undertow.socket-options

java.util.Map

Sets the socket options.

micronaut.server.undertow.server-options

java.util.Map

Sets the server options

Servlet Engine Config Properties

🔗
Table 5. Configuration Properties for MicronautServletConfiguration
Property Type Description

micronaut.servlet.name

java.lang.String

micronaut.servlet.mapping

java.lang.String

🔗
Table 6. Configuration Properties for ServletStaticResourceConfiguration
Property Type Description

micronaut.router.static-resources.*.mapping

java.lang.String

@return The mapping

micronaut.router.static-resources.*.paths

java.util.List

@return The paths

micronaut.router.static-resources.*.enabled

boolean