Package com.bradmcevoy.http.quota

Interface Summary
QuotaDataAccessor Encapsulates access to quota data.
StorageChecker Implementations will check some aspect of whether or not its allowable to load some content into the system.
 

Class Summary
DefaultQuotaDataAccessor Default implementation which just reads the quota properties from QuotaResource, if the given resource implements it.
DefaultStorageChecker Default storage checking mechanism checks to see if the nearest parent resource implements QuotaResource, and if so uses the available bytes property from that to determine whether to allow a PUT Note that there is not always information available giving the size of new content, and in the case of replacing an existing resource, we might not have that resource's size.
 

Enum Summary
StorageChecker.StorageErrorReason  
 



Copyright © 2011. All Rights Reserved.