| Constructor and Description |
|---|
CacheControlClientReaderInterceptor() |
CacheControlClientReaderInterceptor(<any> 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(<any> c) |
void |
setCacheResponseInputStream(boolean cacheInputStream)
Enforce the caching of the response stream.
|
public CacheControlClientReaderInterceptor(<any> cache)
public CacheControlClientReaderInterceptor()
public CacheControlClientReaderInterceptor setCache(<any> 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