[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870138#action_12870138
 ] 

Oleg Kalnichevski commented on HTTPCLIENT-937:
----------------------------------------------

@Sebastian

The entity will be exposed to the consumer as immutable HttpEntity. The 
consumer would be able to muck around with the underlying byte array only 
having explicitly cast the entity to ByteArrayEntity. 

> Make CacheEntry use an immutable object to represent cache content 
> -------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-937
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-937
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache
>            Reporter: Oleg Kalnichevski
>             Fix For: 4.1 Alpha3
>
>         Attachments: 
> Making_CacheEntry_return_HttpEntity_for_getBody_NO_TESTS.patch, 
> Making_CacheEntry_return_HttpEntity_for_getBody_TESTS_ONLY.patch
>
>
> Make CacheEntry use an immutable object to represent cache content similar to 
> HttpEntity

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to