@Singleton @Requires(property="micronaut.server.locale-resolution.fixed") public class HttpFixedLocaleResolver extends io.micronaut.core.util.locale.FixedLocaleResolver<io.micronaut.http.HttpRequest<?>> implements HttpLocaleResolver
LocaleResolver for fixed locale resolution.| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
ORDER |
| Constructor and Description |
|---|
HttpFixedLocaleResolver(HttpLocaleResolutionConfiguration localeResolutionConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
resolve, resolveOrDefaultpublic HttpFixedLocaleResolver(HttpLocaleResolutionConfiguration localeResolutionConfiguration)
localeResolutionConfiguration - The locale resolution configuration