Class MvcBeanValidationFeature
- java.lang.Object
-
- org.glassfish.jersey.server.mvc.beanvalidation.MvcBeanValidationFeature
-
- All Implemented Interfaces:
Feature
@ConstrainedTo(SERVER) public class MvcBeanValidationFeature extends Object implements Feature
Featureused to add support forMVCand Bean Validation.Viewable(template) defined byErrorTemplateannotation, present directly on an executed resource method or on a resource class the resource method is defined in, is processed to display an error message caused by anBean Validation exception. Model is, in this case, a list ofvalidation errors. Note: This feature also registersMvcFeature.- Since:
- 2.3
- Author:
- Michal Gajdos
- See Also:
ErrorTemplate
-
-
Constructor Summary
Constructors Constructor Description MvcBeanValidationFeature()
-
-
-
Method Detail
-
configure
public boolean configure(FeatureContext context)
-
-