public class SmartCache extends Object
| Constructor and Description |
|---|
SmartCache() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
cacheControl(SmartContext ctx) |
static String |
getUniqueKey(SmartContext ctx) |
static void |
handleResponse(SmartContext ctx) |
static void |
handleResponse(SmartContext ctx,
ByteArrayOutputStream out) |
static boolean |
isCached(SmartContext ctx) |
static boolean |
isCached(SmartContext ctx,
Long lastModified) |
void |
setCacheManager(CacheManager cacheManager) |
public static String getUniqueKey(SmartContext ctx)
public static boolean isCached(SmartContext ctx, Long lastModified) throws Exception
Exceptionpublic static boolean cacheControl(SmartContext ctx) throws Exception
Exceptionpublic static boolean isCached(SmartContext ctx) throws Exception
Exceptionpublic static void handleResponse(SmartContext ctx) throws Exception
Exceptionpublic static void handleResponse(SmartContext ctx, ByteArrayOutputStream out) throws Exception
Exceptionpublic void setCacheManager(CacheManager cacheManager) throws Exception
ExceptionCopyright © 2015. All rights reserved.