I have uploaded a patch for refactoring the client modules so that I
can re-use the apache client code in the cacheable client. The patch
is attached to the following issue.
https://jersey.dev.java.net/issues/show_bug.cgi?id=583
After making the change I have already made changes to the cacheable
client and now its workable with the new changes. This seems to work
fine. The changes are as follows -
http://github.com/imyousuf/smart-util/commits/jersey-cache-client-with-apache-client
Now the jersey cacheable client will support custom ResponseResolver
for HTTPCache4J. Thus the client handler is written such that it works
no matter what resolver is set.