Class SimpleViolationsContainer

java.lang.Object
org.jboss.resteasy.api.validation.SimpleViolationsContainer
org.jboss.resteasy.plugins.validation.SimpleViolationsContainer
All Implemented Interfaces:
Serializable

public class SimpleViolationsContainer extends SimpleViolationsContainer implements Serializable
Version:
$Revision: 1.1 $ Copyright Jul 18, 2015
Author:
Ron Sigal
See Also:
  • Constructor Details

    • SimpleViolationsContainer

      public SimpleViolationsContainer(Object target)
    • SimpleViolationsContainer

      public SimpleViolationsContainer(Set<jakarta.validation.ConstraintViolation<Object>> cvs)
  • Method Details

    • addViolations

      public void addViolations(Set<jakarta.validation.ConstraintViolation<Object>> cvs)
      If some ConstraintViolations are created by Resteasy and some are created by CDI, two essentially identical ones might appear to be different. For example, those created by Resteasy might refer to CDI proxy classes while those created by CDI might refer to the backing java classes.
      Overrides:
      addViolations in class SimpleViolationsContainer