Package io.micronaut.http.server.util.locale
package io.micronaut.http.server.util.locale
Micronaut's utilities to resolve a
Locale for an HTTP request.- Since:
- 1.0
- Author:
- Sergio del Amo
-
ClassDescriptionResolves the Locale from a Cookie within an HTTP Request.Provides an abstract class which implements
LocaleResolverand handles default locale resolution.Generic implementation ofLocaleResolverfor fixed locale resolution.Configuration for Locale Resolution in a HTTP Request.Responsible for determining the current locale from a request.ARequestScopewhich uses the currentHttpRequestto resolve the locale and hence return the localized messages.A locale resolver which resolves the locale viaHttpRequest.getLocale().