public class FlushCache extends Object implements RestModifyView<CacheResource,FlushCache.Input>
| Modifier and Type | Class and Description |
|---|---|
static class |
FlushCache.Input |
| Modifier and Type | Field and Description |
|---|---|
static String |
WEB_SESSIONS |
| Constructor and Description |
|---|
FlushCache(com.google.inject.Provider<CurrentUser> self) |
| Modifier and Type | Method and Description |
|---|---|
Response<String> |
apply(CacheResource rsrc,
FlushCache.Input input)
Process the view operation by altering the resource.
|
public static final String WEB_SESSIONS
@Inject public FlushCache(com.google.inject.Provider<CurrentUser> self)
public Response<String> apply(CacheResource rsrc, FlushCache.Input input) throws AuthException
RestModifyViewapply in interface RestModifyView<CacheResource,FlushCache.Input>rsrc - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.AuthException - the client is not permitted to access this view.