com.atlassian.greenhopper.web.configuration
Class CacheControlResource

java.lang.Object
  extended by com.atlassian.greenhopper.global.AbstractLoggable
      extended by com.atlassian.greenhopper.web.AbstractResource
          extended by com.atlassian.greenhopper.web.configuration.CacheControlResource

public class CacheControlResource
extends AbstractResource

Admin-only REST resource to control GreenHopper caches.

Author:
ahennecke

Field Summary
 
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
HTTP_HEADER_GREENHOPPER_GADGET
 
Fields inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logger
 
Constructor Summary
CacheControlResource()
           
 
Method Summary
 javax.ws.rs.core.Response flushAll()
          Flush all caches.
 
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response
 
Methods inherited from class com.atlassian.greenhopper.global.AbstractLoggable
logDebug, logError, logException, logInfo, logTrace, logWarn, setInfoLogLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheControlResource

public CacheControlResource()
Method Detail

flushAll

public javax.ws.rs.core.Response flushAll()
Flush all caches. Not actually a GET, but it might be darn useful in a tight corner since you can call it from the browser



Copyright © 2007-2013 Atlassian. All Rights Reserved.