olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1000) Support API to initialize ODataBatchResponse instance from raw response stream
Date Wed, 20 Dec 2017 10:03:00 GMT

    [ https://issues.apache.org/jira/browse/OLINGO-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16298203#comment-16298203
] 

Ramya commented on OLINGO-1000:
-------------------------------

Hi Punith,
Can you please elaborate on the API's you have used..

Regards,
Ramya

> 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.4.14#64029)

Mime
View raw message