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
FieldsModifier and TypeFieldDescriptionprotected final HandlerInputLocaleResolutionConfigurationstatic final IntegerFields inherited from class io.micronaut.core.util.locale.AbstractLocaleResolver
defaultLocaleFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHandlerInputAbstractLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) -
Method Summary
Methods inherited from class io.micronaut.core.util.locale.AbstractLocaleResolver
resolveOrDefaultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getOrderin interfaceio.micronaut.core.order.Ordered
-