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 (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/22 00:17:30 UTC
[jira] [Resolved] (CXF-3988)
org.apache.cxf.jaxrs.ext.multipart.Attachment object should be mutable
[ https://issues.apache.org/jira/browse/CXF-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-3988.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.5.2
2.4.6
Fixed thanks to Benson
> org.apache.cxf.jaxrs.ext.multipart.Attachment object should be mutable
> ----------------------------------------------------------------------
>
> Key: CXF-3988
> URL: https://issues.apache.org/jira/browse/CXF-3988
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 2.5.1
> Reporter: Benson Margulies
> Fix For: 2.4.6, 2.5.2
>
>
> As currently coded, the headers in an Attachment are immutable after construction. This prevents a construction like:
> - call a convenient constructor
> - add one more header
> Rather than change the contract of getHeaders, I propose to add put/putSingle to the contract of Attachment.
--
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