Configuration Reference
Version:3.8.1
Buffer Netty Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.Integer |
The number of heap arenas |
|
java.lang.Integer |
The number of direct arenas |
|
java.lang.Integer |
The page size |
|
java.lang.Integer |
The max order |
|
java.lang.Integer |
The chunk size |
|
java.lang.Integer |
The small cache size |
|
java.lang.Integer |
The normal cache size |
|
java.lang.Boolean |
Whether to use the cache for all threads |
|
java.lang.Integer |
The max cached buffer capacity |
|
java.lang.Integer |
The cache trim interval |
|
java.lang.Integer |
The max cached byte buffers per chunk |
Context Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.nio.charset.Charset |
Default value (UTF-8). |
|
java.lang.String |
Set the application name |
Property | Type | Description |
---|---|---|
|
boolean |
Whether watch is enabled. |
|
boolean |
Set whether restart is enabled. |
|
java.util.List |
Sets the watch paths to use. |
|
java.time.Duration |
Sets the interval to wait between file watch polls. |
Property | Type | Description |
---|---|---|
|
The instance configuration |
|
|
java.lang.String |
The instance identifier |
|
java.lang.String |
The instance auto scaling group |
|
java.lang.String |
The instance availability zone |
|
java.util.Map |
The metadata to associate with the instance |
Property | Type | Description |
---|---|---|
|
java.lang.Integer |
|
|
||
|
java.lang.Integer |
|
|
java.lang.Integer |
|
|
java.lang.Class |
|
|
java.lang.String |
Sets the executor name. |
|
java.lang.Integer |
Sets the number of threads for FIXED. Default value (2 * Number of processors available to the Java virtual machine). |
Http Client Core Config Properties
🔗Property | Type | Description |
---|---|---|
|
||
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
||
|
java.lang.String |
|
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
java.util.List |
The list of request header names. |
|
java.util.List |
The list of request query parameter names. |
Property | Type | Description |
---|---|---|
|
||
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
Sets the HTTP version to use. Defaults to {@link HttpVersion#HTTP_1_1}. |
|
|
Sets the level to enable trace logging at. Depending on the implementation this may activate additional handlers. For example in Netty this will activate {@code LoggingHandler} at the given level. |
|
|
java.lang.String |
Sets the event loop group to use for the client. |
|
boolean |
Sets whether throwing an exception upon HTTP error status (>= 400) is preferred. Default value (DEFAULT_EXCEPTION_ON_ERROR_STATUS) |
|
java.lang.String |
Sets the client-specific logger name. |
|
boolean |
Sets whether redirects should be followed. Default value (DEFAULT_FOLLOW_REDIRECTS). |
|
java.nio.charset.Charset |
Sets the default charset to use. Default value (UTF-8); |
|
java.util.Map |
The Client channel options |
|
java.time.Duration |
Sets the amount of quiet period for shutdown of client thread pools. Default value (1 milliseconds). If a task is submitted during the quiet period, it will be accepted and the quiet period will start over. |
|
java.time.Duration |
Sets the amount of time to wait for shutdown of client thread pools. Default value (100 milliseconds). |
|
java.time.Duration |
Sets the read timeout. Default value (10 seconds). |
|
java.time.Duration |
Sets the max read idle time for streaming requests. Default value (5 minutes). |
|
java.time.Duration |
Sets the idle timeout for connection in the client connection pool. Defaults to 0. |
|
java.time.Duration |
Sets the connect timeout. |
|
java.time.Duration |
Sets the connect timeout. |
|
java.lang.Integer |
Sets the number of threads the client should use for requests. |
|
java.lang.Class |
Sets a thread factory. |
|
int |
Sets the maximum content length the client can consume. Default value (1024 * 1024 * 10 => 10MB). |
|
java.net.Proxy$Type |
The proxy type |
|
java.net.SocketAddress |
Sets a proxy address. |
|
java.lang.String |
Sets the proxy user name to use. |
|
java.lang.String |
Sets the proxy password. |
|
java.net.ProxySelector |
Sets the proxy selector. ProxySelector decides what proxy to use and take precedence over {@link #setProxyAddress(SocketAddress)} and {@link #setProxyType(Proxy.Type)}. |
|
java.util.List |
Sets the URIs of the service. |
|
java.lang.String |
Sets the health check URI. Default value ("/health"). |
|
boolean |
Sets whether the service health should be checked. Default value (false). |
|
java.time.Duration |
Sets the default duration to check health status. Default value (30 seconds). |
|
java.lang.String |
Sets the context path to use for requests. |
|
java.net.URI |
Sets the URL of the service. |
Property | Type | Description |
---|---|---|
|
boolean |
Sets whether connection pooling is enabled. Default value (false). |
|
int |
Sets the maximum number of connections. Defaults to no maximum. |
|
int |
Sets the max pending acquires. |
|
java.time.Duration |
Sets the timeout to wait for a connection. |
Property | Type | Description |
---|---|---|
|
java.util.List |
The list of request header names. |
|
java.util.List |
The list of request query parameter names. |
Property | Type | Description |
---|---|---|
|
Sets the HTTP version to use. Defaults to {@link HttpVersion#HTTP_1_1}. |
|
|
Sets the level to enable trace logging at. Depending on the implementation this may activate additional handlers. For example in Netty this will activate {@code LoggingHandler} at the given level. |
|
|
java.lang.String |
Sets the event loop group to use for the client. |
|
Sets the SSL configuration for the client. |
|
|
boolean |
Sets whether throwing an exception upon HTTP error status (>= 400) is preferred. Default value (DEFAULT_EXCEPTION_ON_ERROR_STATUS) |
|
java.lang.String |
Sets the client-specific logger name. |
|
boolean |
Sets whether redirects should be followed. Default value (DEFAULT_FOLLOW_REDIRECTS). |
|
java.nio.charset.Charset |
Sets the default charset to use. Default value (UTF-8); |
|
java.util.Map |
The Client channel options |
|
java.time.Duration |
Sets the amount of quiet period for shutdown of client thread pools. Default value (1 milliseconds). If a task is submitted during the quiet period, it will be accepted and the quiet period will start over. |
|
java.time.Duration |
Sets the amount of time to wait for shutdown of client thread pools. Default value (100 milliseconds). |
|
java.time.Duration |
Sets the read timeout. Default value (10 seconds). |
|
java.time.Duration |
Sets the max read idle time for streaming requests. Default value (5 minutes). |
|
java.time.Duration |
Sets the idle timeout for connection in the client connection pool. Defaults to 0. |
|
java.time.Duration |
Sets the connect timeout. |
|
java.time.Duration |
Sets the connect timeout. |
|
java.lang.Integer |
Sets the number of threads the client should use for requests. |
|
java.lang.Class |
Sets a thread factory. |
|
int |
Sets the maximum content length the client can consume. Default value (1024 * 1024 * 10 => 10MB). |
|
java.net.Proxy$Type |
The proxy type |
|
java.net.SocketAddress |
Sets a proxy address. |
|
java.lang.String |
Sets the proxy user name to use. |
|
java.lang.String |
Sets the proxy password. |
|
java.net.ProxySelector |
Sets the proxy selector. ProxySelector decides what proxy to use and take precedence over {@link #setProxyAddress(SocketAddress)} and {@link #setProxyType(Proxy.Type)}. |
Property | Type | Description |
---|---|---|
|
boolean |
Sets whether connection pooling is enabled. Default value (false). |
|
int |
Sets the maximum number of connections. Defaults to no maximum. |
|
int |
Sets the max pending acquires. |
|
java.time.Duration |
Sets the timeout to wait for a connection. |
Property | Type | Description |
---|---|---|
|
int |
|
|
boolean |
|
|
boolean |
|
|
||
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.time.Duration |
|
|
boolean |
|
|
Sets the SSL configuration for the client. |
Http Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
Sets the password. |
|
java.lang.String |
Sets the alias. |
|
Sets the key configuration. |
Property | Type | Description |
---|---|---|
|
int |
Sets the SSL port. Default value (8443). |
|
boolean |
Sets whether to build a self signed certificate. Default value (false). |
|
boolean |
Whether SSL is enabled. Default value (false). |
|
Sets the client authentication mode. |
|
|
java.lang.String |
Sets the ciphers to use. |
|
java.lang.String |
Sets the protocols to use. |
|
java.lang.String |
Sets the protocol to use. Default value ("TLS"). |
|
java.time.Duration |
The timeout for the SSL handshake |
Property | Type | Description |
---|---|---|
|
java.lang.String |
Sets the path. |
|
java.lang.String |
Sets the password to use for the keystore. |
|
java.lang.String |
Sets the type of keystore. |
|
java.lang.String |
Sets the keystore provider name. |
|
Sets the keystore configuration. |
Property | Type | Description |
---|---|---|
|
Sets the trust store configuration. |
|
|
java.lang.String |
Sets the path. |
|
java.lang.String |
Sets the password to use for the keystore. |
|
java.lang.String |
Sets the type of keystore. |
|
java.lang.String |
Sets the keystore provider name. |
Property | Type | Description |
---|---|---|
|
Sets the keystore configuration. |
|
|
java.lang.String |
Sets the path. |
|
java.lang.String |
Sets the password to use for the keystore. |
|
java.lang.String |
Sets the type of keystore. |
|
java.lang.String |
Sets the keystore provider name. |
Property | Type | Description |
---|---|---|
|
java.lang.String |
Sets the path. |
|
java.lang.String |
Sets the password to use for the keystore. |
|
java.lang.String |
Sets the type of keystore. |
|
java.lang.String |
Sets the keystore provider name. |
|
Sets the trust store configuration. |
Property | Type | Description |
---|---|---|
|
Sets the key configuration. |
|
|
java.lang.String |
Sets the password. |
|
java.lang.String |
Sets the alias. |
Property | Type | Description |
---|---|---|
|
java.util.List |
Default value (Empty list). |
Property | Type | Description |
---|---|---|
|
Sets the keystore configuration. |
|
|
java.lang.String |
Sets the path. |
|
java.lang.String |
Sets the password to use for the keystore. |
|
java.lang.String |
Sets the type of keystore. |
|
java.lang.String |
Sets the keystore provider name. |
Property | Type | Description |
---|---|---|
|
Sets the trust store configuration. |
|
|
java.lang.String |
Sets the path. |
|
java.lang.String |
Sets the password to use for the keystore. |
|
java.lang.String |
Sets the type of keystore. |
|
java.lang.String |
Sets the keystore provider name. |
Property | Type | Description |
---|---|---|
|
Sets the key configuration. |
|
|
java.lang.String |
Sets the password. |
|
java.lang.String |
Sets the alias. |
Property | Type | Description |
---|---|---|
|
int |
Sets the SSL port. Default value (8443). |
|
boolean |
Sets whether to build a self signed certificate. Default value (false). |
|
boolean |
Whether SSL is enabled. Default value (false). |
|
Sets the client authentication mode. |
|
|
java.lang.String |
Sets the ciphers to use. |
|
java.lang.String |
Sets the protocols to use. |
|
java.lang.String |
Sets the protocol to use. Default value ("TLS"). |
|
java.time.Duration |
The timeout for the SSL handshake |
|
boolean |
Whether the client should disable checking of the remote SSL certificate. |
Property | Type | Description |
---|---|---|
|
int |
Sets the SSL port. Default value (8443). |
|
boolean |
Sets whether to build a self signed certificate. Default value (false). |
|
boolean |
Whether SSL is enabled. Default value (false). |
|
Sets the client authentication mode. |
|
|
java.lang.String |
Sets the ciphers to use. |
|
java.lang.String |
Sets the protocols to use. |
|
java.lang.String |
Sets the protocol to use. Default value ("TLS"). |
|
java.time.Duration |
The timeout for the SSL handshake |
Http Netty Config Properties
🔗Property | Type | Description |
---|---|---|
|
int |
|
|
java.lang.Integer |
|
|
boolean |
|
|
java.lang.String |
|
|
java.time.Duration |
|
|
java.time.Duration |
Property | Type | Description |
---|---|---|
|
io.netty.util.ResourceLeakDetector$Level |
Sets the resource leak detection level. |
Http Server Config Properties
🔗Property | Type | Description |
---|---|---|
|
HttpServerConfiguration$HttpLocaleResolutionConfigurationProperties |
The locale resolution configuration |
|
java.util.Locale |
Set the language tag for the locale. Supports BCP 47 language tags (e.g. "en-US") and ISO standard (e.g "en_US"). |
|
java.lang.String |
Sets the key in the session to look for the locale. |
|
java.lang.String |
Sets the name of the cookie that is used to store the locale. |
|
boolean |
Set to true if the locale should be resolved from the |
|
java.util.Locale |
Sets the locale that will be used if the locale cannot be resolved through any means. Defaults to the system default. |
Property | Type | Description |
---|---|---|
|
The host resolution configuration |
|
|
java.lang.String |
The header name that stores the host |
|
java.lang.String |
The header name that stores the protocol |
|
java.lang.String |
The header name that stores the port |
|
boolean |
True if the host header supports a port |
|
java.util.List |
The list of allowed host regex patterns. Any resolved |
Property | Type | Description |
---|---|---|
|
Sets the cors configuration. |
|
|
boolean |
Sets whether CORS is enabled. Default value (false) |
|
boolean |
Sets whether CORS header values should be joined into a single header. Default value (false). |
|
java.util.Map |
Sets the CORS configurations. |
Property | Type | Description |
---|---|---|
|
java.lang.Integer |
Sets the port to bind to. Default value (-1) |
|
java.lang.String |
Sets the host to bind to. |
|
java.lang.Integer |
Sets the default read timeout. |
|
long |
Sets the maximum request size. Default value (1024 * 1024 * 10L => // 10MB) |
|
java.time.Duration |
Sets the amount of time a connection can remain idle without any reads occurring. Default value (5L minutes). |
|
java.time.Duration |
Sets the amount of time a connection can remain idle without any writes occurring. Default value (5L minutes). |
|
java.time.Duration |
Sets the idle time of connections for the server. Default value (5 minutes). |
|
java.lang.String |
Sets the name of the server header. |
|
boolean |
Sets whether a date header should be sent back. Default value (true). |
|
boolean |
Sets whether exceptions handled by either an error route or exception handler should still be logged. Default value (false). |
|
java.lang.String |
The header that stores the original client address |
|
java.lang.String |
Sets the context path for the web server. |
|
boolean |
the dual protocol (http/https) configuration. Default value (false). |
|
boolean |
Set to true to enable redirecting all http requests to the same URL but with |
|
Sets the HTTP version to use. Defaults to {@link HttpVersion#HTTP_1_1}. |
|
|
java.nio.charset.Charset |
The default charset to use |
|
Sets the ThreadSelection model to use for the server. Default value MANUAL. |
Property | Type | Description |
---|---|---|
|
Sets the multipart configuration. |
|
|
java.io.File |
Sets the location to store files. |
|
long |
Sets the max file size. Default value (1024L * 1024 => 1MB). |
|
java.lang.Boolean |
Sets whether multipart processing is enabled. Default value (false). |
|
boolean |
Sets whether to buffer data to disk or not. Default value (false). |
|
boolean |
Sets whether to buffer data to disk if the size is greater than the threshold. Default value (false). |
|
long |
Sets the amount of data that should be received that will trigger the data to be stored to disk. Default value (1024L * 1024 * 10). |
Http Server Netty Config Properties
🔗Property | Type | Description |
---|---|---|
|
Sets the cache control configuration. |
|
|
boolean |
Sets whether the cache control is public. Default value (false) |
Property | Type | Description |
---|---|---|
|
NettyHttpServerConfiguration$NettyListenerConfiguration$Family |
The address family of this listener. |
|
boolean |
Whether to enable SSL on this listener. Also requires ssl.SslConfiguration#isEnabled() to be set. |
|
java.lang.String |
For TCP listeners, the host to bind to, or {@code null} to bind to all hosts. |
|
int |
The TCP port to bind to. May be {@code -1} to bind to a random port. |
|
java.lang.String |
For UNIX domain sockets, the path of the socket. For abstract domain sockets, this should start with a NUL byte. |
|
boolean |
Whether to expose default routes on this listener. |
Property | Type | Description |
---|---|---|
|
Sets the AccessLogger configuration. |
|
|
boolean |
Enables or Disables the access logger. |
|
java.lang.String |
Sets the logger name to use. If not specified 'HTTP_ACCESS_LOGGER' will be used. |
|
java.lang.String |
Sets the log format to use. When not specified, the Common Log Format (CLF) will be used. |
|
java.util.List |
Sets the URI patterns to be excluded from the access log. |
Property | Type | Description |
---|---|---|
|
int |
Cache Seconds. Default value (60). |
Property | Type | Description |
---|---|---|
|
NettyHttpServerConfiguration$FileTypeHandlerConfiguration$CacheControlConfiguration |
Sets the cache control configuration. |
|
boolean |
Sets whether the cache control is public. Default value (false) |
Property | Type | Description |
---|---|---|
|
java.util.Map |
Sets the Netty child worker options. |
|
java.util.Map |
Sets the channel options. |
|
int |
Sets the maximum initial line length for the HTTP request. Default value (4096). |
|
int |
Sets the maximum size of any one header. Default value (8192). |
|
int |
Sets the maximum size of any single request chunk. Default value (8192). |
|
int |
Sets the maximum size of the body of the HTTP1.1 request used to upgrade a connection to HTTP2 clear-text (h2c). This initial request cannot be streamed and is instead buffered in full, so the default value (8192) is relatively small. <i>If this value is too small for your use case, instead consider using an empty initial "upgrade request" (e.g. {@code OPTIONS /}), or switch to normal HTTP2.</i> <p> <i>Does not affect normal HTTP2 (TLS).</i> |
|
boolean |
Sets whether chunked transfer encoding is supported. Default value (true). |
|
boolean |
Sets whether to validate incoming headers. Default value (true). |
|
int |
Sets the initial buffer size. Default value (128). |
|
io.netty.handler.logging.LogLevel |
Sets the Netty log level. |
|
int |
Sets the minimum size of a request body must be in order to be compressed. Default value (1024). |
|
int |
Sets the compression level (0-9). Default value (6). |
|
boolean |
Sets whether to use netty’s native transport (epoll or kqueue) if available . Default value (false). |
|
java.lang.String |
Sets the fallback protocol to use when negotiating via ALPN. |
|
boolean |
Whether to send connection keep alive on internal server errors. Default value ({@value DEFAULT_KEEP_ALIVE_ON_SERVER_ERROR}). |
|
java.lang.String |
The path pattern to use for logging incoming connections to pcap. This is an unsupported option: Behavior may change, or it may disappear entirely, without notice! |
|
java.util.List |
Set the explicit netty listener configurations, or {@code null} if they should be implicit. |
Property | Type | Description |
---|---|---|
|
Sets the Http2Settings. |
|
|
java.lang.Long |
Sets the {@code SETTINGS_HEADER_TABLE_SIZE} value. |
|
java.lang.Boolean |
Does nothing. |
|
java.lang.Long |
Sets the {@code SETTINGS_MAX_CONCURRENT_STREAMS} value. |
|
java.lang.Integer |
Sets the {@code SETTINGS_INITIAL_WINDOW_SIZE} value. |
|
java.lang.Integer |
Sets the {@code SETTINGS_MAX_FRAME_SIZE} value. |
|
java.lang.Long |
Sets the {@code SETTINGS_MAX_HEADER_LIST_SIZE} value. |
Property | Type | Description |
---|---|---|
|
Sets the parent event loop configuration. |
|
|
java.lang.String |
Sets the name to use. |
|
int |
Sets the number of threads for the event loop group. |
|
java.lang.Integer |
Sets the I/O ratio. |
|
java.lang.String |
Sets the name of the executor. |
|
boolean |
Set whether to prefer the native transport if available |
|
java.time.Duration |
Set the shutdown quiet period |
|
java.time.Duration |
Set the shutdown timeout (must be >= shutdownQuietPeriod) |
Property | Type | Description |
---|---|---|
|
Sets the worker event loop configuration. |
|
|
java.lang.String |
Sets the name to use. |
|
int |
Sets the number of threads for the event loop group. |
|
java.lang.Integer |
Sets the I/O ratio. |
|
java.lang.String |
Sets the name of the executor. |
|
boolean |
Set whether to prefer the native transport if available |
|
java.time.Duration |
Set the shutdown quiet period |
|
java.time.Duration |
Set the shutdown timeout (must be >= shutdownQuietPeriod) |
Property | Type | Description |
---|---|---|
|
int |
Cache Seconds. Default value (60). |
Jackson Databind Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether to scan for modules or not (defaults to true). |
|
boolean |
Whether the BeanIntrospection should be used for reflection free object serialialization/deserialialization. |
|
java.lang.String |
Sets the default date format to use. |
|
java.util.Locale |
Sets the locale to use. |
|
java.util.TimeZone |
Sets the timezone to use. |
|
int |
Sets the array size threshold for data binding. Default value (100). |
|
java.util.Map |
Sets the serialization features to use. |
|
java.util.Map |
Sets the deserialization features to use. |
|
java.util.Map |
Sets the object mapper features to use. |
|
java.util.Map |
Sets the parser features to use. |
|
java.util.Map |
Sets the generator features to use. |
|
java.util.Map |
Sets the factory features to use. |
|
com.fasterxml.jackson.annotation.JsonInclude$Include |
Sets the serialization inclusion mode. |
|
com.fasterxml.jackson.databind.ObjectMapper$DefaultTyping |
Sets the global defaultTyping using for Polymorphic handling. |
|
com.fasterxml.jackson.databind.PropertyNamingStrategy |
Sets the property naming strategy. |
|
boolean |
Sets whether _embedded.errors should always be serialized as list (defaults to false). If set to false, _embedded.errors with 1 element will be serialized as an object. |
|
boolean |
Whether strings should be trimmed when deserializing (defaults to false). If the resulting string is an empty string, then null will be applied instead. |
Management Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.Boolean |
Sets whether the endpoint is enabled. |
|
java.lang.Boolean |
Sets whether the endpoint is sensitive. |
|
java.lang.Integer |
Sets the port to expose endpoints via. |
|
java.lang.String |
The endpoints base path. It must include a leading and trailing '/'. Default value ("/"). |
Property | Type | Description |
---|---|---|
|
Sets the visibility policy for health information. |
Property | Type | Description |
---|---|---|
|
java.lang.Boolean |
Sets whether the endpoint is enabled. |
|
java.lang.Boolean |
Sets whether the endpoint is sensitive. |
Property | Type | Description |
---|---|---|
|
java.util.Map |
Set how HealthStatus map to HttpStatus codes. |
Property | Type | Description |
---|---|---|
|
boolean |
If health indicator should be enabled. Default is true. |
Property | Type | Description |
---|---|---|
|
boolean |
Determines whether modifications to the log level should require authentication. Default value (true). |
Property | Type | Description |
---|---|---|
|
boolean |
Default value (true). |
|
java.io.File |
Default value ("."). |
|
long |
Default value (1024L * 1024 * 10 => 10MB). |
Router Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether parameter should be searched for a version. |
|
java.util.List |
Sets which parameter should be searched for a version. |
Property | Type | Description |
---|---|---|
|
boolean |
Sets whether this specific mapping is enabled. Default value (true). |
|
java.util.List |
A list of paths either starting with |
|
java.lang.String |
The path resources should be served from. Uses ant path matching. Default value ("/**"). |
Property | Type | Description |
---|---|---|
|
boolean |
Enables the version based route matches filtering. |
|
java.lang.String |
Sets the version to use if the version cannot be resolved. Default value (null). |
Property | Type | Description |
---|---|---|
|
boolean |
Sets whether headers should be searched for a version. |
|
java.util.List |
Sets which headers should be searched for a version. |
Runtime Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.time.Duration |
Default value (15 seconds). |
|
boolean |
Default value (true). |
Property | Type | Description |
---|---|---|
|
java.lang.String |
Default value ("http://169.254.169.254/metadata/v1.json"). |
|
boolean |
Default value (true). |
Session Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.time.Duration |
Set the maximum inactive interval. Default value (30 minutes). |
|
java.lang.Integer |
Sets the maximum number of active sessions. |
|
boolean |
Set if prompt expiration is enabled. |
|
Set the executor service. |
Property | Type | Description |
---|---|---|
|
boolean |
Default value (false). |
|
boolean |
Default value (true). |
|
java.time.temporal.TemporalAmount |
Sets the maximum age of the cookie. |
|
java.lang.Boolean |
Sets the secure status of the cookie. Delegates to http if not set. |
|
java.lang.String |
Set the cookie path to use. Default value ("/"). |
|
java.lang.String |
Set the domain name to use for the cookie |
|
java.lang.String |
Default value ("SESSION"). |
|
java.lang.String |
Set the prefix to use when serializing session ID |
|
java.lang.String[] |
Default values ([{@value io.micronaut.http.HttpHeaders#AUTHORIZATION_INFO}, {@value io.micronaut.http.HttpHeaders#X_AUTH_TOKEN}]). |
|
java.lang.String |
Set the domain name to use for the cookie |
|
Determines if this this Cookie can be sent along cross-site requests. For more information, please look <a href="https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-05">here</a> |
Validation Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether Micronaut’s validator is enabled. |