public class

CacheControl

extends Object
java.lang.Object
   ↳ com.atlassian.jira.dev.backdoor.util.CacheControl

Summary

Public Methods
static CacheControl forever()
Returns a CacheControl with a 1 year limit.
static CacheControl never()
Returns a CacheControl with noStore and noCache set to true.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static CacheControl forever ()

Returns a CacheControl with a 1 year limit. Effectively forever.

Returns
  • a CacheControl

public static CacheControl never ()

Returns a CacheControl with noStore and noCache set to true.

Returns
  • a CacheControl