reta opened a new pull request #851:
URL: https://github.com/apache/cxf/pull/851


   Relates to https://github.com/apache/cxf/pull/697/files, the entity input 
stream is indeed not closed after consumption. But according to the 
specification for `public abstract <T> T readEntity(Class<T> entityType, 
Annotation[] annotations)`:
   
   > A message instance returned from this method will be cached for subsequent 
retrievals via getEntity(). Unless the supplied entitytype is an input stream, 
this method automatically closes the an unconsumed original response entity 
data stream if open.
   
   TODO: 
   - [ ] Add Test Case(s)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to