Package io.milton.http.quota


package io.milton.http.quota
  • Class
    Description
    Default implementation which just reads the quota properties from QuotaResource, if the given resource implements it.
    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.
    Encapsulates access to quota data.
    Implementations will check some aspect of whether or not its allowable to load some content into the system.