Package com.atlassian.jira.rest.v1.util
Class CacheControl
java.lang.Object
com.atlassian.jira.rest.v1.util.CacheControl
Contains some static definitions for caching that may be useful to REST endpoints
- Since:
- v4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javax.ws.rs.core.CacheControl
Provides a cacheControl with a 1 year limit.static final javax.ws.rs.core.CacheControl
Provides a cacheControl with noStore and noCache set to true -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NO_CACHE
public static final javax.ws.rs.core.CacheControl NO_CACHEProvides a cacheControl with noStore and noCache set to true -
CACHE_FOREVER
public static final javax.ws.rs.core.CacheControl CACHE_FOREVERProvides a cacheControl with a 1 year limit. Effectively forever.
-
-
Constructor Details
-
CacheControl
public CacheControl()
-