[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-users
Subject:    Re: HttpClient cache - caching custom objects
From:       Oleg Kalnichevski <olegk () apache ! org>
Date:       2011-10-07 13:12:06
Message-ID: 1317993126.3337.273.camel () ubuntu
[Download RAW message or body]

On Thu, 2011-10-06 at 15:53 -0700, MakMak wrote:
> I see that the HttpClient cache caches byte stream retrieved from an
> operation. 
> 
> In my usecase, I depend on an external restful webservice to drive my
> website. The service responds by XML. 
> When I use the HttpClient's cache module, after every GET, I've to do an
> unmarshall which is quite expensive. What I want to do instead, is to extend
> the cache module such that what I save in the cache are my unmarshalled
> objects(they're serializable). 
> 
> Is it possible? Can someone help me with this?

There is an enhancement request for this (or similar) feature, but no
one is currently working on it. Contributions are welcome.

https://issues.apache.org/jira/browse/HTTPCLIENT-1090

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic