You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Mitko Kolev (JIRA)" <ji...@apache.org> on 2016/01/26 07:58:39 UTC
[jira] [Updated] (OLINGO-858)
org.apache.olingo.odata2.api.processor.ODataResponse enity is not streamed
[ https://issues.apache.org/jira/browse/OLINGO-858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mitko Kolev updated OLINGO-858:
-------------------------------
Description:
The entity of the {{org.apache.olingo.odata2.api.processor.ODataResponse}} is not streamed.
{code}
ODataResponse.newBuilder().entity(someInputStream).header("Content-Type", "text/plain")
.status(HttpStatusCodes.OK).build()
{code}
It would make sense to stream this directly in the HTTP response. This is extremely painful when the entity does not fit in memory.
was:
The entity of the {{org.apache.olingo.odata2.api.processor.ODataResponse}} is not streamed.
{code}
ODataResponse.newBuilder().entity(new ByteArrayInputStream(someInputStream)).header("Content-Type", "text/plain")
.status(HttpStatusCodes.OK).build()
{code}
It would make sense to stream this directly in the HTTP response. This is extremely painful when the entity does not fit in memory.
> org.apache.olingo.odata2.api.processor.ODataResponse enity is not streamed
> --------------------------------------------------------------------------
>
> Key: OLINGO-858
> URL: https://issues.apache.org/jira/browse/OLINGO-858
> Project: Olingo
> Issue Type: Improvement
> Components: odata2-core
> Affects Versions: V2 2.0.5
> Reporter: Mitko Kolev
>
> The entity of the {{org.apache.olingo.odata2.api.processor.ODataResponse}} is not streamed.
> {code}
> ODataResponse.newBuilder().entity(someInputStream).header("Content-Type", "text/plain")
> .status(HttpStatusCodes.OK).build()
> {code}
> It would make sense to stream this directly in the HTTP response. This is extremely painful when the entity does not fit in memory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)