You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2012/07/12 04:03:36 UTC

[jira] [Commented] (CXF-4420) CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource

    [ https://issues.apache.org/jira/browse/CXF-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412453#comment-13412453 ] 

Freeman Fang commented on CXF-4420:
-----------------------------------

currently org.apache.cxf.attachment.AttachmentDataSource.getName() always return null.
For some MTOM usecase, there's a Content-Disposition attachment header like 
Content-Disposition: attachment; name="input.jpg"
cxf AttachmentDeserializer should be able to read and setName accordingly for AttachmentDataSource if MTOM payload have Content-Disposition name, that's very convenient for users to get an attachment file name  on server side if it's available in the message.
                
> CXF JAXWS MTOM should be able to extract Content-Disposition and setName accordingly for AttachmentDataSource
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4420
>                 URL: https://issues.apache.org/jira/browse/CXF-4420
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>


--
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