ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | Properties | List of all members
ImageResizer.Caching.ResponseHeaders Class Reference
Inheritance diagram for ImageResizer.Caching.ResponseHeaders:
Inheritance graph
[legend]
Collaboration diagram for ImageResizer.Caching.ResponseHeaders:
Collaboration graph
[legend]

Static Public Member Functions

static void DefaultApplyToResponseMethod (IResponseHeaders headers, HttpContext context)
 

Properties

Boolean ApplyDuringPreSendRequestHeaders [get, set]
 
string ContentType [get, set]
 The mime-type of the encoded image. Defaults to null More...
 
ApplyResponseHeadersDelegate ApplyToResponse [get, set]
 
HttpCacheability CacheControl [get, set]
 
DateTime Expires [get, set]
 
DateTime LastModified [get, set]
 
bool ValidUntilExpires [get, set]
 
bool SuppressVaryHeader [get, set]
 
NameValueCollection DefaultHeaders [get, set]
 
NameValueCollection Headers [get, set]
 
List< CacheDependency > ServerCacheDependencies [get, set]
 
- Properties inherited from ImageResizer.Caching.IResponseHeaders
string ContentType [get, set]
 The mime-type of the output data. Defaults to null. More...
 
HttpCacheability CacheControl [get, set]
 The cache setting. Defaults to ServerAndPrivate More...
 
DateTime Expires [get, set]
 The UTC time at which the cached data should expire. Browsers generally don't re-request resources until the they have expired (unlike modififeddate). If MinValue, will be ignored. More...
 
DateTime LastModified [get, set]
 The UTC modified date send with the response. Used by browsers with If-Modified-Since to check a cached value is still valid. If = MinValue, will be ignored. More...
 
bool ValidUntilExpires [get, set]
 When true: If a client requests a refresh, the response will still be served from the server cache. Defaults to false More...
 
bool SuppressVaryHeader [get, set]
 ASP.Net sometimes sends Vary: * which obliterates caching. Vary is to be avoided anyhow. Defaults to true More...
 
NameValueCollection DefaultHeaders [get, set]
 These headers should be applied first, prior to the application of other settings More...
 
NameValueCollection Headers [get, set]
 These headers are applied after applying all of the other settings. (and they will overwrite exisiting values). More...
 
List< CacheDependency > ServerCacheDependencies [get, set]
 Returns a collection of dependencies used for invalidating the server cache. Note, having items here will disable kernel-mode caching. Perhaps it is better to simply use LastModified More...
 
ApplyResponseHeadersDelegate ApplyToResponse [get, set]
 A delegate method to apply the values stored in IResponseHeaders to the specified HttpContext. More...
 
bool ApplyDuringPreSendRequestHeaders [get, set]
 True if the application should automatically execute ApplyToResponse() during the PreSendRequestHeaders event. More...
 

Detailed Description

Definition at line 11 of file ResponseHeaders.cs.

Property Documentation

string ImageResizer.Caching.ResponseHeaders.ContentType
getset

The mime-type of the encoded image. Defaults to null

Definition at line 32 of file ResponseHeaders.cs.


The documentation for this class was generated from the following file: