Package io.micronaut.aws.alexa.locale
Class DefaultHandlerInputLocaleResolver
java.lang.Object
io.micronaut.core.util.locale.AbstractLocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
io.micronaut.aws.alexa.locale.HandlerInputAbstractLocaleResolver
io.micronaut.aws.alexa.locale.DefaultHandlerInputLocaleResolver
- All Implemented Interfaces:
HandlerInputLocaleResolver
,io.micronaut.core.order.Ordered
,io.micronaut.core.util.LocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
@Singleton
public class DefaultHandlerInputLocaleResolver
extends HandlerInputAbstractLocaleResolver
Resolves
Locale
from the HandlerInput
request.- Since:
- 3.10.0
- Author:
- Sergio del Amo
- See Also:
-
Field Summary
Fields inherited from class io.micronaut.aws.alexa.locale.HandlerInputAbstractLocaleResolver
localeResolutionConfiguration, ORDER
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
DefaultHandlerInputLocaleResolver
(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) -
Method Summary
Methods inherited from class io.micronaut.aws.alexa.locale.HandlerInputAbstractLocaleResolver
getOrder
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
resolveOrDefault
-
Constructor Details
-
DefaultHandlerInputLocaleResolver
protected DefaultHandlerInputLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) - Parameters:
localeResolutionConfiguration
- The locale resolution configuration
-
-
Method Details
-
resolve
-