Constructor and Description |
---|
CacheControlClientReaderInterceptor() |
CacheControlClientReaderInterceptor( |
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( |
void |
setCacheResponseInputStream(boolean cacheInputStream)
Enforce the caching of the response stream.
|
public CacheControlClientReaderInterceptor(cache)
public CacheControlClientReaderInterceptor()
public CacheControlClientReaderInterceptor setCache(c)
public Object aroundReadFrom(javax.ws.rs.ext.ReaderInterceptorContext context) throws IOException, javax.ws.rs.WebApplicationException
aroundReadFrom
in interface javax.ws.rs.ext.ReaderInterceptor
IOException
javax.ws.rs.WebApplicationException
public 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