chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florent Guillaume (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CMIS-459) Fill more info on AtomPub rendition content streams
Date Thu, 27 Oct 2011 16:38:32 GMT

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

Florent Guillaume resolved CMIS-459.
------------------------------------

    Resolution: Fixed

Done at r1189795

                
> Fill more info on AtomPub rendition content streams
> ---------------------------------------------------
>
>                 Key: CMIS-459
>                 URL: https://issues.apache.org/jira/browse/CMIS-459
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.5.0
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>             Fix For: OpenCMIS 0.6.0
>
>
> In AtomPub a content stream is retrieved as a binary from a HTTP GET call and the code
in o.a.c.o.client.bindings.spi.atompub.ObjectServiceImpl.getContentStream does:
>         result.setFileName(null);
>         result.setLength(resp.getContentLength());
> because the filename is not known at that point. And note that for a chunked HTTP response
the length is not known and is therefore null.
> However when it's a rendition, this is called by RenditionImpl.getContentStream() which
could then use its knowledege of the <atom:link rel="alternate"> title and length (if
available).

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

        

Mime
View raw message