You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (Updated) (JIRA)" <ji...@apache.org> on 2012/03/30 14:46:33 UTC

[jira] [Updated] (CXF-4217) Introduce Nullable annotations to override the default handling of empty payloads by JAXB providers

     [ https://issues.apache.org/jira/browse/CXF-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin updated CXF-4217:
----------------------------------

          Component/s: JAX-RS
    Affects 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
>
> 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