hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-937) Make CacheEntry use an immutable object to represent cache content
Date Fri, 21 May 2010 20:06:16 GMT

    [ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message