[
https://issues.apache.org/jira/browse/CXF-5996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau updated CXF-5996:
------------------------------------
Attachment: client-jaxrs-cache-control.zip
here the idea I got but it doesn't work cause of several things:
* I wanted to use a client ReaderInterceptor but proceed doesn't return a
Response so that's quite hard to do it, filters could work using ThreadLocal
surely
* I used JCache but I don't know which hook (from JAXRS2) I can use to close
caching provider, cache manager and the cache itself
Side note: seems local transport + jaxrs client API have some issues, not sure
I messed up something or not but only root/base endpoint is registered so if
you don't call / then you have message observer null (created by the client)
My conclusion is: we have to use a CXF interceptor
I attached my sandbox project if you want to have a look but it is not usable
because of the points I mentionned (but main algo is in place I think, config
still needs to be done in the feature - there are some todos)
> respect client cache headers
> ----------------------------
>
> Key: CXF-5996
> URL: https://issues.apache.org/jira/browse/CXF-5996
> Project: CXF
> Issue Type: New Feature
> Reporter: Romain Manni-Bucau
> Attachments: client-jaxrs-cache-control.zip
>
>
> Hi
> would be great to get a mecanism (maybe using jcache as abstraction) to
> respect on client side http cache headers
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)