org.jboss.resteasy.client.cache
Class CacheFactory
java.lang.Object
org.jboss.resteasy.client.cache.CacheFactory
public class CacheFactory
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheFactory
public CacheFactory()
makeCacheable
public static LightweightBrowserCache makeCacheable(Object clientProxy)
- Makes the client proxy cacheable. Returns the cache that will hold
returned values from the server.
- Parameters:
clientProxy
-
- Returns:
makeCacheable
public static void makeCacheable(Object clientProxy,
BrowserCache cache)
- 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)
- Make a raw ClientRequest cache results in the provided cache.
- Parameters:
request
- cache
-
Copyright © 2012. All Rights Reserved.