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 Details

    • 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.
  • Constructor Details

    • CacheControl

      public CacheControl()