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, ORDERFields inherited from class io.micronaut.core.util.locale.AbstractLocaleResolver
defaultLocaleFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultHandlerInputLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) -
Method Summary
Methods inherited from class io.micronaut.aws.alexa.locale.HandlerInputAbstractLocaleResolver
getOrderMethods 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
resolveOrDefault
-
Constructor Details
-
DefaultHandlerInputLocaleResolver
protected DefaultHandlerInputLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) - Parameters:
localeResolutionConfiguration- The locale resolution configuration
-
-
Method Details
-
resolve
-