chemistry-dev mailing list archives

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


Florent Guillaume resolved CMIS-459.

    Resolution: Fixed

Done at r1189795

> Fill more info on AtomPub rendition content streams
> ---------------------------------------------------
>                 Key: CMIS-459
>                 URL:
>             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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message