@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 AcceptedByMethod
public ClientResponse execute(ClientExecutionContext ctx) throws Exception
execute
in interface ClientExecutionInterceptor
Exception
protected ClientResponse handleExpired(ClientExecutionContext ctx, ClientRequest request, BrowserCache.Entry entry) throws Exception
Exception
public ClientResponse updateOnNotModified(ClientRequest request, BrowserCache.Entry old, BaseClientResponse response) throws Exception
Exception
public ClientResponse cacheIfPossible(ClientRequest request, BaseClientResponse response) throws Exception
Exception
protected BrowserCache.Entry getEntry(ClientRequest request) throws Exception
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.