Class QuarkusLocaleResolver
java.lang.Object
io.github.belgif.rest.problem.quarkus.i18n.QuarkusLocaleResolver
- All Implemented Interfaces:
LocaleResolver
LocaleResolver implementation that resolves the Locale from the
request-scoped LocaleHolder CDI bean.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QuarkusLocaleResolver
public QuarkusLocaleResolver()
-
-
Method Details
-
getLocale
Description copied from interface:LocaleResolver
Get the current Locale- Specified by:
getLocale
in interfaceLocaleResolver
- Returns:
- the current Locale
-