public class LockNullResource extends Object implements CommonResource, DeletableResource, ReplaceableResource
| Constructor and Description |
|---|
LockNullResource(AnnotationResourceFactory annoFactory,
AnnoCollectionResource parent,
LockHolder lockHolder) |
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticate(String user,
String password) |
boolean |
authorise(Request request,
Request.Method method,
Auth auth) |
String |
checkRedirect(Request request) |
void |
delete() |
Date |
getModifiedDate() |
String |
getName() |
CommonResource |
getParent() |
String |
getRealm() |
String |
getUniqueId() |
boolean |
is(String type) |
void |
replaceContent(InputStream in,
Long length) |
public LockNullResource(AnnotationResourceFactory annoFactory, AnnoCollectionResource parent, LockHolder lockHolder)
public boolean is(String type)
is in interface CommonResourcepublic CommonResource getParent()
getParent in interface CommonResourcepublic String getUniqueId()
getUniqueId in interface Resourcepublic Object authenticate(String user, String password)
authenticate in interface Resourcepublic boolean authorise(Request request, Request.Method method, Auth auth)
public Date getModifiedDate()
getModifiedDate in interface Resourcepublic String checkRedirect(Request request) throws NotAuthorizedException, BadRequestException
checkRedirect in interface ResourceNotAuthorizedExceptionBadRequestExceptionpublic void delete()
delete in interface DeletableResourcepublic void replaceContent(InputStream in, Long length) throws BadRequestException, ConflictException, NotAuthorizedException
replaceContent in interface ReplaceableResourceBadRequestExceptionConflictExceptionNotAuthorizedExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.