Package io.milton.http.annotated
Class AnnoFileResource
java.lang.Object
io.milton.http.annotated.AnnoResource
io.milton.http.annotated.AnnoFileResource
- All Implemented Interfaces:
CommonResource,ConditionalCompatibleResource,AccessControlledResource,CopyableResource,DeletableResource,DigestResource,DisplayNameResource,GetableResource,LockableResource,MoveableResource,PostableResource,PropFindableResource,ReplaceableResource,ReportableResource,Resource
- Direct Known Subclasses:
AnnoContactResource,AnnoEventResource
- Author:
- brad
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.milton.resource.AccessControlledResource
AccessControlledResource.Priviledge -
Field Summary
Fields inherited from class io.milton.http.annotated.AnnoResource
acl, annoFactory, jsonResult, nameOverride, parent, realm, sourceFields inherited from interface io.milton.resource.AccessControlledResource
NONE, READ_BROWSE, READ_CONTENT, READ_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionAnnoFileResource(AnnotationResourceFactory outer, Object source, AnnoCollectionResource parent) -
Method Summary
Methods inherited from class io.milton.http.annotated.AnnoResource
authenticate, authenticate, authorise, checkRedirect, copyTo, delete, getAccessControlList, getAnnoFactory, getAsList, getContentLength, getContentType, getContentType, getCreateDate, getCurrentLock, getDisplayName, getHref, getLink, getMaxAgeSeconds, getModifiedDate, getName, getNameOverride, getParent, getPrincipalCollectionHrefs, getPrincipalURL, getPriviledges, getRealm, getRoot, getSource, getUniqueId, isCompatible, isDigestAllowed, lock, moveTo, processForm, refreshLock, sendContent, setAccessControlList, setDisplayName, setNameOverride, unlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.milton.resource.GetableResource
getContentLength, getContentType, getMaxAgeSeconds, sendContentMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Constructor Details
-
AnnoFileResource
public AnnoFileResource(AnnotationResourceFactory outer, Object source, AnnoCollectionResource parent)
-
-
Method Details
-
replaceContent
public void replaceContent(InputStream in, Long length) throws BadRequestException, ConflictException, NotAuthorizedException - Specified by:
replaceContentin interfaceReplaceableResource- Throws:
BadRequestExceptionConflictExceptionNotAuthorizedException
-
is
- Specified by:
isin interfaceCommonResource- Overrides:
isin classAnnoResource
-