Class SimpleViolationsContainer
java.lang.Object
org.jboss.resteasy.api.validation.SimpleViolationsContainer
org.jboss.resteasy.plugins.validation.SimpleViolationsContainer
- All Implemented Interfaces:
Serializable
- Version:
- $Revision: 1.1 $ Copyright Jul 18, 2015
- Author:
- Ron Sigal
- See Also:
-
Constructor Summary
ConstructorDescriptionSimpleViolationsContainer
(Object target) SimpleViolationsContainer
(Set<jakarta.validation.ConstraintViolation<Object>> cvs) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Methods inherited from class org.jboss.resteasy.api.validation.SimpleViolationsContainer
getException, getTarget, getViolations, isFieldsValidated, setException, setFieldsValidated, setTarget, size
-
Constructor Details
-
SimpleViolationsContainer
-
SimpleViolationsContainer
-
-
Method Details
-
addViolations
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 classSimpleViolationsContainer
-