open fun setDefaultLocale(@Nullable defaultLocale: Locale): Unit
Configure a fixed default locale to fall back on if the request does not have an "Accept-Language" header.
By default this is not set in which case when there is "Accept-Language" header, the default locale for the server is used as defined in HttpServletRequest#getLocale()
.
defaultLocale
- the default locale to use
Since
4.3