@Deprecated public class CacheInterceptor extends Object implements ClientExecutionInterceptor, AcceptedByMethod
ResteasyClient,
CacheInterceptor| Modifier and Type | Field and Description |
|---|---|
protected BrowserCache |
cache
Deprecated.
|
| Constructor and Description |
|---|
CacheInterceptor(BrowserCache cache)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class declaring,
Method method)
Deprecated.
|
ClientResponse |
cacheIfPossible(ClientRequest request,
BaseClientResponse response)
Deprecated.
|
ClientResponse |
execute(ClientExecutionContext ctx)
Deprecated.
|
protected BrowserCache.Entry |
getEntry(ClientRequest request)
Deprecated.
|
protected ClientResponse |
handleExpired(ClientExecutionContext ctx,
ClientRequest request,
BrowserCache.Entry entry)
Deprecated.
|
ClientResponse |
updateOnNotModified(ClientRequest request,
BrowserCache.Entry old,
BaseClientResponse response)
Deprecated.
|
protected BrowserCache cache
public CacheInterceptor(BrowserCache cache)
public boolean accept(Class declaring, Method method)
accept in interface AcceptedByMethodpublic ClientResponse execute(ClientExecutionContext ctx) throws Exception
execute in interface ClientExecutionInterceptorExceptionprotected ClientResponse handleExpired(ClientExecutionContext ctx, ClientRequest request, BrowserCache.Entry entry) throws Exception
Exceptionpublic ClientResponse updateOnNotModified(ClientRequest request, BrowserCache.Entry old, BaseClientResponse response) throws Exception
Exceptionpublic ClientResponse cacheIfPossible(ClientRequest request, BaseClientResponse response) throws Exception
Exceptionprotected BrowserCache.Entry getEntry(ClientRequest request) throws Exception
ExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.