public class FlushCache extends java.lang.Object implements RestModifyView<CacheResource,Input>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WEB_SESSIONS |
Constructor and Description |
---|
FlushCache(PermissionBackend permissionBackend) |
Modifier and Type | Method and Description |
---|---|
Response<java.lang.String> |
apply(CacheResource rsrc,
Input input)
Process the view operation by altering the resource.
|
public static final java.lang.String WEB_SESSIONS
@Inject public FlushCache(PermissionBackend permissionBackend)
public Response<java.lang.String> apply(CacheResource rsrc, Input input) throws AuthException, PermissionBackendException
RestModifyView
apply
in interface RestModifyView<CacheResource,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.PermissionBackendException