@ConstrainedTo(value=SERVER) public class MvcBeanValidationFeature extends Object implements javax.ws.rs.core.Feature
Feature
used to add support for MVC
and Bean Validation.
Viewable
(template) defined by
ErrorTemplate
annotation, 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 an
Bean Validation exception
. Model is, in this case, a list of
validation errors
.
Note: This feature also registers MvcFeature
.ErrorTemplate
Constructor and Description |
---|
MvcBeanValidationFeature() |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.