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

                 Key: CXF-4217
                 URL: https://issues.apache.org/jira/browse/CXF-4217
             Project: CXF
          Issue Type: Improvement
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to