com.atlassian.jira.dev.backdoor.util
Class CacheControl
java.lang.Object
com.atlassian.jira.dev.backdoor.util.CacheControl
public class CacheControl
- extends Object
- Since:
- v5.0.1
Method Summary |
static javax.ws.rs.core.CacheControl |
forever()
Returns a CacheControl with a 1 year limit. |
static javax.ws.rs.core.CacheControl |
never()
Returns 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 |
never
public static javax.ws.rs.core.CacheControl never()
- Returns a CacheControl with noStore and noCache set to true.
- Returns:
- a CacheControl
forever
public static javax.ws.rs.core.CacheControl forever()
- Returns a CacheControl with a 1 year limit. Effectively forever.
- Returns:
- a CacheControl
Copyright © 2002-2014 Atlassian. All Rights Reserved.