System::Net::Cache::HttpRequestCachePolicy class
Contents
[
Hide
]HttpRequestCachePolicy class
HTTP cache policy that expresses RFC2616 HTTP caching semantic Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class HttpRequestCachePolicy : public System::Net::Cache::RequestCachePolicy
Methods
Method | Description |
---|---|
get_CacheSyncDate() const | Gets the time when resources stored in the cache must be revalidated. |
get_InternalCacheSyncDateUtc() const | Gets the time in the UTC format when resources stored in the cache must be revalidated. For internal use only. |
get_Level() const | RTTI information. |
get_MaxAge() const | Gets the max age permitted for a resource. |
get_MaxStale() const | Gets the maximum staleness value that is permitted for a resource. |
get_MinFresh() const | Gets the min age permitted for a resource. |
HttpRequestCachePolicy() | Constructs a new instance. |
HttpRequestCachePolicy(HttpRequestCacheLevel) | Constructs a new instance. |
HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan) | Constructs a new instance. |
HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan) | Constructs a new instance. |
HttpRequestCachePolicy(DateTime) | Constructs a new instance. |
HttpRequestCachePolicy(HttpCacheAgeControl, TimeSpan, TimeSpan, DateTime) | Constructs a new instance. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
See Also
- Class RequestCachePolicy
- Namespace System::Net::Cache
- Library Aspose.PDF for C++