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

    Fields
    Modifier and Type
    Field
    Description
    static final Integer
     

    Fields inherited from class io.micronaut.core.util.locale.FixedLocaleResolver

    locale

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    Methods inherited from class io.micronaut.core.util.locale.FixedLocaleResolver

    resolve, 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

      public static final Integer ORDER
  • Constructor Details

    • HandlerInputFixedLocaleResolver

      public HandlerInputFixedLocaleResolver(HandlerInputLocaleResolutionConfiguration localeResolutionConfiguration)
      Parameters:
      localeResolutionConfiguration - The locale resolution configuration
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface io.micronaut.core.order.Ordered