public class

CacheControl

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v1.util.CacheControl

Class Overview

Contains some static definitions for caching that may be useful to REST endpoints

Summary

Fields
public static final CacheControl CACHE_FOREVER Provides a cacheControl with a 1 year limit.
public static final CacheControl NO_CACHE Provides a cacheControl with noStore and noCache set to true
Public Constructors
CacheControl()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final CacheControl CACHE_FOREVER

Provides a cacheControl with a 1 year limit. Effectively forever.

public static final CacheControl NO_CACHE

Provides a cacheControl with noStore and noCache set to true

Public Constructors

public CacheControl ()