Package org.jboss.resteasy.client.cache
Class CacheFactory
- java.lang.Object
-
- org.jboss.resteasy.client.cache.CacheFactory
-
@Deprecated public class CacheFactory extends java.lang.Object
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 Constructor Description CacheFactory()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LightweightBrowserCache
makeCacheable(java.lang.Object clientProxy)
Deprecated.Makes the client proxy cacheable.static void
makeCacheable(java.lang.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.
-
-
-
Method Detail
-
makeCacheable
public static LightweightBrowserCache makeCacheable(java.lang.Object clientProxy)
Deprecated.Makes the client proxy cacheable. Returns the cache that will hold returned values from the server.- Parameters:
clientProxy
-- Returns:
-
makeCacheable
public static void makeCacheable(java.lang.Object clientProxy, BrowserCache cache)
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
-
-
-