Class CacheControl
java.lang.Object
com.atlassian.crowd.plugin.rest.service.util.CacheControl
Contains some static definitions for caching that may be useful to REST endpoints
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javax.ws.rs.core.CacheControlProvides a cacheControl with a 1 year limit.static final javax.ws.rs.core.CacheControlProvides 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()
-