Class ResteasyReactiveLocaleResolver
- java.lang.Object
-
- io.quarkus.hibernate.validator.runtime.locale.AbstractLocaleResolver
-
- io.quarkus.hibernate.validator.runtime.locale.ResteasyReactiveLocaleResolver
-
- All Implemented Interfaces:
org.hibernate.validator.spi.messageinterpolation.LocaleResolver
@Singleton public class ResteasyReactiveLocaleResolver extends AbstractLocaleResolver
Locale resolver that retrieves the locale from HTTP headers of the current vert.x request. Currently used for handling GraphQL requests.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CurrentVertxRequest
currentVertxRequest
-
Constructor Summary
Constructors Constructor Description ResteasyReactiveLocaleResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,List<String>>
getHeaders()
-
Methods inherited from class io.quarkus.hibernate.validator.runtime.locale.AbstractLocaleResolver
resolve
-
-
-
-
Field Detail
-
currentVertxRequest
@Inject CurrentVertxRequest currentVertxRequest
-
-
Method Detail
-
getHeaders
protected Map<String,List<String>> getHeaders()
- Specified by:
getHeaders
in classAbstractLocaleResolver
-
-