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 org.jboss.resteasy.api.validation.SimpleViolationsContainer implements Serializable
Version:
$Revision: 1.1 $ Copyright Jul 18, 2015
Author:
Ron Sigal
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SimpleViolationsContainer(Set<jakarta.validation.ConstraintViolation<Object>> cvs)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class org.jboss.resteasy.api.validation.SimpleViolationsContainer

    getException, getTarget, getViolations, isFieldsValidated, setException, setFieldsValidated, setTarget, size

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 org.jboss.resteasy.api.validation.SimpleViolationsContainer