com.atlassian.jira.rest.v1.util
Class CacheControl
java.lang.Object
com.atlassian.jira.rest.v1.util.CacheControl
public class CacheControl
- extends Object
Contains some static definitions for caching that may be useful to REST endpoints
- Since:
- v4.0
Field Summary |
static javax.ws.rs.core.CacheControl |
CACHE_FOREVER
Provides a cacheControl with a 1 year limit. |
static javax.ws.rs.core.CacheControl |
NO_CACHE
Provides a cacheControl with noStore and noCache set to true |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_CACHE
public static final javax.ws.rs.core.CacheControl NO_CACHE
- Provides a cacheControl with noStore and noCache set to true
CACHE_FOREVER
public static final javax.ws.rs.core.CacheControl CACHE_FOREVER
- Provides a cacheControl with a 1 year limit. Effectively forever.
CacheControl
public CacheControl()
Copyright © 2002-2012 Atlassian. All Rights Reserved.