Package io.micronaut.aws.alexa.locale
Class HandlerInputFixedLocaleResolver
java.lang.Object
io.micronaut.core.util.locale.FixedLocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
io.micronaut.aws.alexa.locale.HandlerInputFixedLocaleResolver
- All Implemented Interfaces:
HandlerInputLocaleResolver,io.micronaut.core.order.Ordered,io.micronaut.core.util.LocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
@Singleton
@Requires(property="alexa.locale-resolution.fixed")
public class HandlerInputFixedLocaleResolver
extends io.micronaut.core.util.locale.FixedLocaleResolver<com.amazon.ask.dispatcher.request.handler.HandlerInput>
implements HandlerInputLocaleResolver
Generic implementation of
LocaleResolver for fixed locale resolution.- Since:
- 3.10.0
- Author:
- Sergio del Amo
-
Field Summary
FieldsFields inherited from class io.micronaut.core.util.locale.FixedLocaleResolver
localeFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionHandlerInputFixedLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) -
Method Summary
Methods inherited from class io.micronaut.core.util.locale.FixedLocaleResolver
resolve, 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
-
-
Constructor Details
-
HandlerInputFixedLocaleResolver
public HandlerInputFixedLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration) - Parameters:
localeResolutionConfiguration- The locale resolution configuration
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceio.micronaut.core.order.Ordered
-