Package io.micronaut.aws.alexa.locale
Class HandlerInputAbstractLocaleResolver
java.lang.Object
io.micronaut.core.util.locale.AbstractLocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
io.micronaut.aws.alexa.locale.HandlerInputAbstractLocaleResolver
- All Implemented Interfaces:
HandlerInputLocaleResolver
,io.micronaut.core.order.Ordered
,io.micronaut.core.util.LocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
- Direct Known Subclasses:
CompositeHandlerInputLocaleResolver
,DefaultHandlerInputLocaleResolver
public abstract class HandlerInputAbstractLocaleResolver
extends io.micronaut.core.util.locale.AbstractLocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
implements HandlerInputLocaleResolver
Provides an abstract class which implements
LocaleResolver
and handles default locale resolution.- Since:
- 3.10.0
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionprotected final HandlerInputLocaleResolutionConfiguration
static final Integer
Fields inherited from class io.micronaut.core.util.locale.AbstractLocaleResolver
defaultLocale
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ModifierConstructorDescriptionprotected
HandlerInputAbstractLocaleResolver
(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) -
Method Summary
Methods inherited from class io.micronaut.core.util.locale.AbstractLocaleResolver
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
-
Field Details
-
ORDER
-
localeResolutionConfiguration
-
-
Constructor Details
-
HandlerInputAbstractLocaleResolver
protected HandlerInputAbstractLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) - Parameters:
localeResolutionConfiguration
- The locale resolution configuration
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceio.micronaut.core.order.Ordered
-