Class HttpFixedLocaleResolver
java.lang.Object
io.micronaut.core.util.locale.FixedLocaleResolver<HttpRequest<?>>
io.micronaut.http.server.util.locale.HttpFixedLocaleResolver
- All Implemented Interfaces:
Ordered
,LocaleResolver<HttpRequest<?>>
,HttpLocaleResolver
@Singleton
@Requires(property="micronaut.server.locale-resolution.fixed")
public class HttpFixedLocaleResolver
extends FixedLocaleResolver<HttpRequest<?>>
implements HttpLocaleResolver
Generic implementation of
LocaleResolver
for fixed locale resolution.- Since:
- 2.3.0
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from class io.micronaut.core.util.locale.FixedLocaleResolver
locale
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionHttpFixedLocaleResolver
(HttpLocaleResolutionConfiguration localeResolutionConfiguration) -
Method Summary
Methods inherited from class io.micronaut.core.util.locale.FixedLocaleResolver
resolve, resolveOrDefault
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.util.LocaleResolver
resolve, resolveOrDefault