com.clickntap.smart
Class SmartCache
java.lang.Object
com.clickntap.smart.SmartCache
public class SmartCache
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartCache
public SmartCache()
setCacheManager
public void setCacheManager(CacheManager cacheManager)
throws Exception
- Throws:
Exception
getUniqueKey
public static String getUniqueKey(SmartContext ctx)
isCached
public static boolean isCached(SmartContext ctx,
Long lastModified)
throws Exception
- Throws:
Exception
cacheControl
public static boolean cacheControl(SmartContext ctx)
throws Exception
- Throws:
Exception
isCached
public static boolean isCached(SmartContext ctx)
throws Exception
- Throws:
Exception
handleResponse
public static void handleResponse(SmartContext ctx)
throws Exception
- Throws:
Exception
handleResponse
public static void handleResponse(SmartContext ctx,
ByteArrayOutputStream out)
throws Exception
- Throws:
Exception
Copyright © 2014. All rights reserved.