Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5401

Better support for validating the entities wrapped in JAX-RS Response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-milestone1
    • None
    • None
    • Unknown

    Description

      At the moment Response entities can only be validated against the rules attached to the entity properties. Method-level constraints (ex, NotNull) can not be applied yet.

      We need to either offer a support for few well-known constraints (NotNull, Null, etc) or come up with some generic code to get all the available constraints validated

      Attachments

        1. patch-response-validation.txt
          9 kB
          Andriy Redko

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: