You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/03/28 13:33:18 UTC

[jira] [Created] (STANBOL-1004) Allow ContentItems to retieve content from provided locations

Rupert Westenthaler created STANBOL-1004:
--------------------------------------------

             Summary: Allow ContentItems to retieve content from provided locations 
                 Key: STANBOL-1004
                 URL: https://issues.apache.org/jira/browse/STANBOL-1004
             Project: Stanbol
          Issue Type: Sub-task
          Components: Enhancer
            Reporter: Rupert Westenthaler


While the Stanbol Enahncer does support ContentReferences to be used to create ContentItmes the referenced Content is currently loaded during the creation of the ContentItem.

This issue will change this behavior by providing a Blob implementation(s) that directly retrieve the information via the provided refernece

    Blob#getContentType()
    Blob#getParameter()
    Blob#getContentLength()

will use HEAD requests to the provided URI. For protocols other then HTTP those methods might return the default values "applciation/octet-stream" and -1 as content length.

   BLOB#getInputStream()

will open the stream directly from the provided URI


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira