Package io.milton.resource
Interface MakeCollectionableResource
- All Superinterfaces:
CollectionResource,Resource
- All Known Subinterfaces:
FolderResource
Represents a collection (ie a folder or directory which allows sub collections
to be created
-
Method Summary
Methods inherited from interface io.milton.resource.CollectionResource
child, getChildrenMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Method Details
-
createCollection
CollectionResource createCollection(String newName) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.ConflictException, io.milton.http.exceptions.BadRequestException - Parameters:
newName-- Returns:
- Throws:
io.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.ConflictExceptionio.milton.http.exceptions.BadRequestException
-