Interface HttpLocaleResolutionConfiguration
- All Superinterfaces:
LocaleResolutionConfiguration
- All Known Implementing Classes:
HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
Configuration for Locale Resolution in a HTTP Request.
- Since:
- 2.3.0
- Author:
- Sergio del Amo
-
Method Summary
Methods inherited from interface io.micronaut.core.util.locale.LocaleResolutionConfiguration
getDefaultLocale, getFixed
-
Method Details
-
getSessionAttribute
- Returns:
- The key in the session that stores the locale
-
getCookieName
- Returns:
- The name of the cookie that contains the locale.
-
isHeader
boolean isHeader()- Returns:
- True if the accept header should be searched for the locale.
-