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

Introduce Nullable annotations to override the default handling of empty payloads by JAXB providers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.10, 2.4.7, 2.5.3, 2.6
    • 2.3.10, 2.4.7, 2.5.3, 2.6
    • JAX-RS
    • None
    • Unknown

    Description

      JAX-RS 1.1 requires JAXB providers to return 400 in case of empty payloads.

      Users have to override the provider in order to get null injected instead, in cases when having empty payloads does not constitute an error for their application which is inconvenient. A simple Nullable annotation (idea: Anthony Muller) can help

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: