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:54:20 UTC

[jira] [Created] (OLINGO-1000) Support API to initialize ODataBatchResponse instance from raw response stream

Punith DG created OLINGO-1000:
---------------------------------

             Summary: 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


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)