| Constructor and Description | 
|---|
CacheControlClientReaderInterceptor()  | 
CacheControlClientReaderInterceptor(javax.cache.Cache<Key,Entry> cache)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context)  | 
protected boolean | 
isCacheControlValid(javax.ws.rs.ext.ReaderInterceptorContext context,
                   javax.ws.rs.core.CacheControl responseControl)  | 
boolean | 
isCacheInputStream()  | 
CacheControlClientReaderInterceptor | 
setCache(javax.cache.Cache<Key,Entry> c)  | 
void | 
setCacheResponseInputStream(boolean cacheInputStream)
Enforce the caching of the response stream. 
 | 
public CacheControlClientReaderInterceptor(javax.cache.Cache<Key,Entry> cache)
public CacheControlClientReaderInterceptor()
public CacheControlClientReaderInterceptor setCache(javax.cache.Cache<Key,Entry> c)
public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
aroundReadFrom in interface javax.ws.rs.ext.ReaderInterceptorIOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isCacheInputStream()
public void setCacheResponseInputStream(boolean cacheInputStream)
cacheInputStream - protected boolean isCacheControlValid(javax.ws.rs.ext.ReaderInterceptorContext context,
                                      javax.ws.rs.core.CacheControl responseControl)
Apache CXF