Package org.jboss.resteasy.client.cache
Class CacheInterceptor
java.lang.Object
org.jboss.resteasy.client.cache.CacheInterceptor
- All Implemented Interfaces:
AcceptedByMethod
,ClientExecutionInterceptor
@Deprecated
public class CacheInterceptor
extends Object
implements ClientExecutionInterceptor, AcceptedByMethod
Deprecated.
Caching in the Resteasy client framework in resteasy-jaxrs is replaced by
caching in the JAX-RS 2.0 compliant resteasy-client module.
- Version:
- $Revision: 1 $
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Deprecated. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.private ClientResponse
cache
(ClientRequest request, ClientResponse response) Deprecated.cacheIfPossible
(ClientRequest request, BaseClientResponse response) Deprecated.private BaseClientResponse
createClientResponse
(ClientRequest request, BrowserCache.Entry entry) Deprecated.Deprecated.protected BrowserCache.Entry
getEntry
(ClientRequest request) Deprecated.protected ClientResponse
handleExpired
(ClientExecutionContext ctx, ClientRequest request, BrowserCache.Entry entry) Deprecated.updateOnNotModified
(ClientRequest request, BrowserCache.Entry old, BaseClientResponse response) Deprecated.
-
Field Details
-
cache
Deprecated.
-
-
Constructor Details
-
CacheInterceptor
Deprecated.
-
-
Method Details
-
accept
Deprecated.- Specified by:
accept
in interfaceAcceptedByMethod
-
execute
Deprecated.- Specified by:
execute
in interfaceClientExecutionInterceptor
- Throws:
Exception
-
handleExpired
protected ClientResponse handleExpired(ClientExecutionContext ctx, ClientRequest request, BrowserCache.Entry entry) throws Exception Deprecated.- Throws:
Exception
-
cache
Deprecated.- Throws:
Exception
-
updateOnNotModified
public ClientResponse updateOnNotModified(ClientRequest request, BrowserCache.Entry old, BaseClientResponse response) throws Exception Deprecated.- Throws:
Exception
-
createClientResponse
Deprecated. -
cacheIfPossible
public ClientResponse cacheIfPossible(ClientRequest request, BaseClientResponse response) throws Exception Deprecated.- Throws:
Exception
-
getEntry
Deprecated.- Throws:
Exception
-