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