You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Punith DG (JIRA)" <ji...@apache.org> on 2016/08/10 13:55:20 UTC
[jira] [Updated] (OLINGO-1000) Support API to initialize
ODataBatchResponse instance from raw response stream
[ https://issues.apache.org/jira/browse/OLINGO-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Punith DG updated OLINGO-1000:
------------------------------
Labels: batch batchscanner flexibility response (was: batch batchscanner response)
> Support API to initialize ODataBatchResponse instance from raw response stream
> ------------------------------------------------------------------------------
>
> Key: OLINGO-1000
> URL: https://issues.apache.org/jira/browse/OLINGO-1000
> Project: Olingo
> Issue Type: Improvement
> Components: odata4-client, odata4-commons
> Affects Versions: (Java) V4 4.2.0
> Environment: Windows
> Reporter: Punith DG
> Labels: batch, batchscanner, flexibility, response
>
> I have my own HTTP transporter and I execute batch request by getting the BATCH request stream from ODataBatchRequest.
> But however, I don't have any way to initialize the batch response instance from input stream I receive from other way.
> In Olingo 2.0 there was an API to do so.
> List<BatchSingleResponse> responses = EntityProvider.parseBatchResponse(responseBody, contentType);
> I could pass the respondeBody stream with content type and get a list of batch response.
> Can we have the same thing in 4.x Olingo too? That would be more helpful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)