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

Stephan Klevenz commented on OLINGO-108:
----------------------------------------

Hi Dhaval,

The entity returned by ODataResponse is a stream object representing the body 
of the http message. If you want to modify the body content then you have to 
read the stream into e.g. a string object, modify this and then return the 
modified object as stream again.

-- Stephan

> ODataResponse returning the entity object which is not ODataResponseImpl
> ------------------------------------------------------------------------
>
>                 Key: OLINGO-108
>                 URL: https://issues.apache.org/jira/browse/OLINGO-108
>             Project: Olingo
>          Issue Type: Improvement
>            Reporter: dhaval gupta
>            Assignee: Stephan Klevenz
>
> Hi, 
>  When we do ODataResponse.getEntity(), we should get a object that should 
> represent response and also provide methods which allow developers to work on 
> that response which is not the case instead  I am getting some 
> CircularBufferStream. 
> Please let me know how do I get the actual response in the above API.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to