com.atlassian.crowd.plugin.rest.service.util
Class CacheControl

java.lang.Object
  extended by com.atlassian.crowd.plugin.rest.service.util.CacheControl

public class CacheControl
extends Object

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


Field Summary
static javax.ws.rs.core.CacheControl CACHE_FOREVER
          Provides a cacheControl with a 1 year limit.
static javax.ws.rs.core.CacheControl NO_CACHE
          Provides a cacheControl with noStore and noCache set to true
 
Constructor Summary
CacheControl()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

CacheControl

public CacheControl()


Copyright © 2013 Atlassian. All Rights Reserved.