Class MvcBeanValidationFeature

  • All Implemented Interfaces:
    Feature

    @ConstrainedTo(SERVER)
    public class MvcBeanValidationFeature
    extends Object
    implements 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.

    Since:
    2.3
    Author:
    Michal Gajdos
    See Also:
    ErrorTemplate
    • Constructor Detail

      • MvcBeanValidationFeature

        public MvcBeanValidationFeature()