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