public final class NSURLCacheStoragePolicy
extends java.lang.Object
The NSURLCacheStoragePolicy enum defines constants that can be used to specify the type of storage that is allowable for an NSCachedURLResponse object that is to be stored in an NSURLCache.
[@constant] NSURLCacheStorageAllowed Specifies that storage in an NSURLCache is allowed without restriction.
[@constant] NSURLCacheStorageAllowedInMemoryOnly Specifies that storage in an NSURLCache is allowed; however storage should be done in memory only, no disk storage should be done.
[@constant] NSURLCacheStorageNotAllowed Specifies that storage in an NSURLCache is not allowed in any fashion, either in memory or on disk.
| Modifier and Type | Field and Description |
|---|---|
static long |
Allowed |
static long |
AllowedInMemoryOnly |
static long |
NotAllowed |
public static final long Allowed
public static final long AllowedInMemoryOnly
public static final long NotAllowed