Package org.jboss.resteasy.client.cache
Class CacheFactory
java.lang.Object
org.jboss.resteasy.client.cache.CacheFactory
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 $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LightweightBrowserCache
makeCacheable
(Object clientProxy) Deprecated.Makes the client proxy cacheable.static void
makeCacheable
(Object clientProxy, BrowserCache cache) Deprecated.Makes the client proxy cacheable.static void
makeCacheable
(ClientInterceptorRepository interceptorRepository, BrowserCache cache) Deprecated.Make a raw ClientRequest cache results in the provided cache.
-
Constructor Details
-
CacheFactory
public CacheFactory()Deprecated.
-
-
Method Details
-
makeCacheable
Deprecated.Makes the client proxy cacheable. Returns the cache that will hold returned values from the server.- Parameters:
clientProxy
-- Returns:
-
makeCacheable
Deprecated.Makes the client proxy cacheable. This method allows you to pass in a shared cache that the proxy should use- Parameters:
clientProxy
-cache
-
-
makeCacheable
public static void makeCacheable(ClientInterceptorRepository interceptorRepository, BrowserCache cache) Deprecated.Make a raw ClientRequest cache results in the provided cache.- Parameters:
request
-cache
-
-