Package io.milton.http.annotated
Class LockNullResource
java.lang.Object
io.milton.http.annotated.LockNullResource
- All Implemented Interfaces:
CommonResource,DeletableResource,ReplaceableResource,Resource
public class LockNullResource
extends Object
implements CommonResource, DeletableResource, ReplaceableResource
- Author:
- brad
-
Constructor Summary
ConstructorsConstructorDescriptionLockNullResource(AnnotationResourceFactory annoFactory, AnnoCollectionResource parent, LockHolder lockHolder) -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(String user, String password) booleanauthorise(Request request, Request.Method method, Auth auth) checkRedirect(Request request) voiddelete()getName()getRealm()booleanvoidreplaceContent(InputStream in, Long length)
-
Constructor Details
-
LockNullResource
public LockNullResource(AnnotationResourceFactory annoFactory, AnnoCollectionResource parent, LockHolder lockHolder)
-
-
Method Details
-
is
- Specified by:
isin interfaceCommonResource
-
getParent
- Specified by:
getParentin interfaceCommonResource
-
getUniqueId
- Specified by:
getUniqueIdin interfaceResource
-
getName
-
authenticate
- Specified by:
authenticatein interfaceResource
-
authorise
-
getRealm
-
getModifiedDate
- Specified by:
getModifiedDatein interfaceResource
-
checkRedirect
- Specified by:
checkRedirectin interfaceResource- Throws:
NotAuthorizedExceptionBadRequestException
-
delete
public void delete()- Specified by:
deletein interfaceDeletableResource
-
replaceContent
public void replaceContent(InputStream in, Long length) throws BadRequestException, ConflictException, NotAuthorizedException - Specified by:
replaceContentin interfaceReplaceableResource- Throws:
BadRequestExceptionConflictExceptionNotAuthorizedException
-