[ https://issues.apache.org/jira/browse/CXF-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-4217. ----------------------------------- Resolution: Fixed Fix Version/s: 2.6 2.5.3 2.4.7 2.3.10 > 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 > Components: JAX-RS > Affects Versions: 2.3.10, 2.4.7, 2.5.3, 2.6 > Reporter: Sergey Beryozkin > Assignee: Sergey Beryozkin > Fix For: 2.3.10, 2.4.7, 2.5.3, 2.6 > > > 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