Class GeneralValidatorImpl.LocaleSpecificMessageInterpolator
java.lang.Object
org.jboss.resteasy.plugins.validation.GeneralValidatorImpl.LocaleSpecificMessageInterpolator
- All Implemented Interfaces:
jakarta.validation.MessageInterpolator
- Enclosing class:
- GeneralValidatorImpl
protected static class GeneralValidatorImpl.LocaleSpecificMessageInterpolator
extends Object
implements jakarta.validation.MessageInterpolator
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.validation.MessageInterpolator
jakarta.validation.MessageInterpolator.Context
-
Constructor Summary
ConstructorDescriptionLocaleSpecificMessageInterpolator
(jakarta.validation.MessageInterpolator interpolator, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptioninterpolate
(String messageTemplate, jakarta.validation.MessageInterpolator.Context context) interpolate
(String messageTemplate, jakarta.validation.MessageInterpolator.Context context, Locale locale)
-
Constructor Details
-
LocaleSpecificMessageInterpolator
public LocaleSpecificMessageInterpolator(jakarta.validation.MessageInterpolator interpolator, Locale locale)
-
-
Method Details
-
interpolate
public String interpolate(String messageTemplate, jakarta.validation.MessageInterpolator.Context context) - Specified by:
interpolate
in interfacejakarta.validation.MessageInterpolator
-
interpolate
public String interpolate(String messageTemplate, jakarta.validation.MessageInterpolator.Context context, Locale locale) - Specified by:
interpolate
in interfacejakarta.validation.MessageInterpolator
-