[
https://issues.apache.org/jira/browse/OLINGO-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130434#comment-15130434
]
Michael Bolz commented on OLINGO-858:
-------------------------------------
Hi [~mkolev],
For clarification I have two questions:
- In what environment (JEE Server/ServletContainer and Framework) do run your
service (and Olingo)?
- What object is the {{someInputStream}} parameter in your sample?
{code}
ODataResponse.newBuilder().entity(someInputStream).header("Content-Type",
"application/octet-stream")
.status(HttpStatusCodes.OK).build()
{code}
Best Regards,
Michael
> 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
> Assignee: Michael Bolz
>
> The entity of the {{org.apache.olingo.odata2.api.processor.ODataResponse}} is
> not streamed.
> {code}
> ODataResponse.newBuilder().entity(someInputStream).header("Content-Type",
> "application/octet-stream")
> .status(HttpStatusCodes.OK).build()
> {code}
> It would make sense to stream this directly in the HTTP response.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)