public interface StorageChecker
| Modifier and Type | Interface and Description |
|---|---|
static class |
StorageChecker.StorageErrorReason |
| Modifier and Type | Method and Description |
|---|---|
StorageChecker.StorageErrorReason |
checkStorageOnAdd(Request request,
CollectionResource nearestParent,
Path parentPath,
String host)
Check to see if the operation should be allowed, when there is no existing
resource.
|
StorageChecker.StorageErrorReason |
checkStorageOnReplace(Request request,
CollectionResource parent,
Resource replaced,
String host)
Check to see if the operation should be allowed, when an existing resource
is to be overwritten or replaced.
|
StorageChecker.StorageErrorReason checkStorageOnReplace(Request request, CollectionResource parent, Resource replaced, String host)
request - replaced - - the resource being replacedhost - StorageChecker.StorageErrorReason checkStorageOnAdd(Request request, CollectionResource nearestParent, Path parentPath, String host)
request - parentPath - - the path to the parent collection. E.g. http://abc.com/path = /pathhost - Copyright © 2021 McEvoy Software Ltd. All rights reserved.