Class CompositeHttpLocaleResolver

All Implemented Interfaces:
Ordered, LocaleResolver<HttpRequest<?>>, HttpLocaleResolver

@Singleton @Primary public class CompositeHttpLocaleResolver extends HttpAbstractLocaleResolver
Primary HttpLocaleResolver which evaluates every HttpLocaleResolver by order to resolve a Locale.
Since:
2.3.0
Author:
Sergio del Amo, James Kleeh
  • Constructor Details

    • CompositeHttpLocaleResolver

      public CompositeHttpLocaleResolver(HttpLocaleResolver[] localeResolvers, HttpLocaleResolutionConfiguration httpLocaleResolutionConfiguration)
      Parameters:
      localeResolvers - HTTP Locale Resolvers
      httpLocaleResolutionConfiguration - Locale Resolution configuration for HTTP Requests
  • Method Details