Package io.milton.resource
Interface SyncCollectionResource
- All Superinterfaces:
CollectionResource,Resource
CollectionResource which supports sync-token.
-
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
-
getSyncToken
URI getSyncToken()Current sync-token.- Returns:
-
findResourcesBySyncToken
Map<String,Resource> findResourcesBySyncToken(URI syncToken) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException - Returns:
- Map contains href -> Resource. Removed resource should be included as
RemovedResource. - Throws:
io.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.BadRequestException
-