public interface DeletableResource extends Resource
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Non-recursive delete of this resource.
|
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdvoid delete()
throws io.milton.http.exceptions.NotAuthorizedException,
io.milton.http.exceptions.ConflictException,
io.milton.http.exceptions.BadRequestException
io.milton.http.exceptions.NotAuthorizedException - - if the operation should not be permitted for security reasonsio.milton.http.exceptions.ConflictException - - if there is some pre-condition that has not been met, or there is
aspect of the resource state which prevents the resource from being deletedio.milton.http.exceptions.BadRequestException - - if there is some aspect of the request which means
it is not sufficient to perform a delete.