[
https://issues.apache.org/jira/browse/CXF-5996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131313#comment-14131313
]
Sergey Beryozkin edited comment on CXF-5996 at 9/12/14 9:18 AM:
----------------------------------------------------------------
Hi Romain,
That was quick :-), thanks. FYI, I've opened
https://java.net/jira/browse/JAX_RS_SPEC-485 to get a spec-compliant approach
for closing the filters.
This will work only if a filter instance is created per client though.
I wonder if it should be done with the help of ClientRequestFilter ? It would
check the cache headers, if the entity is available locally, it would return
Response with the object set and then ReaderInterceptor would block reading the
actual input stream ?
Cheers, Sergey
was (Author: sergey_beryozkin):
Hi Romain,
That was quick :-), thanks. FYI, I've opened
https://java.net/jira/browse/JAX_RS_SPEC-485 to get a spec-compliant approach
for cloing the filters.
This will work only if a filter instance is created per client though.
I wonder if it should be done with the help of ClientRequestFilter ? It would
check the cache headers, if the entity is available locally, it would return
Response with the object set and then ReaderInterceptor would block reading the
actual input stream ?
Cheers, Sergey
> 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)