Class HttpAbstractLocaleResolver

java.lang.Object
io.micronaut.core.util.locale.AbstractLocaleResolver<HttpRequest<?>>
io.micronaut.http.server.util.locale.HttpAbstractLocaleResolver
All Implemented Interfaces:
Ordered, LocaleResolver<HttpRequest<?>>, HttpLocaleResolver
Direct Known Subclasses:
CompositeHttpLocaleResolver, CookieLocaleResolver, RequestLocaleResolver

public abstract class HttpAbstractLocaleResolver extends AbstractLocaleResolver<HttpRequest<?>> implements HttpLocaleResolver
Provides an abstract class which implements LocaleResolver and handles default locale resolution.
Since:
2.3.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • HttpAbstractLocaleResolver

      public HttpAbstractLocaleResolver(HttpLocaleResolutionConfiguration httpLocaleResolutionConfiguration)
      Parameters:
      httpLocaleResolutionConfiguration - Locale Resolution configuration for HTTP Requests
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface Ordered
      Returns:
      The order of the object. Defaults to zero (no order).