Method | Description | |
---|---|---|
ProcessRequest ( |
Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.
|
Method | Description | |
---|---|---|
CanUseCache ( string cacheFileName ) : bool |
Returns true if the cache file is newer then the file name that was resolved by the IUrlResolver.
|
|
GetCacheFileName ( string directoryName, string subdirectoryKey ) : string |
Returns the file name that can be used to cache the result.
|
|
MagickHandler ( IUrlResolver urlResolver, MagickFormatInfo formatInfo ) : System |
Initializes a new instance of the MagickHandler class.
|
|
MoveToCache ( string fileName, string cacheFileName ) : void |
Moves to the specified source file name to the destination file name. This is happening in a lock to avoid problems when an other request is reading the file.
|
|
WriteFile ( |
Writes the file to the response.
|
|
WriteFile ( |
Writes the specified file to the response.
|
Method | Description | |
---|---|---|
AddCacheControlHeader ( |
||
CalculateMD5 ( string value ) : string | ||
GetTempFileName ( ) : string | ||
InitializeVersion ( ) : string | ||
Write304 ( |
protected CanUseCache ( string cacheFileName ) : bool | ||
cacheFileName | string | |
return | bool |
protected GetCacheFileName ( string directoryName, string subdirectoryKey ) : string | ||
directoryName | string | The name of the subdirectory to store the files in. |
subdirectoryKey | string | The key that will be used to create MD5 hash and that /// will be used as a sub directory. |
return | string |
protected MagickHandler ( IUrlResolver urlResolver, MagickFormatInfo formatInfo ) : System | ||
urlResolver | IUrlResolver | |
formatInfo | MagickFormatInfo | |
return | System |
protected static MoveToCache ( string fileName, string cacheFileName ) : void | ||
fileName | string | |
cacheFileName | string | |
return | void |
public ProcessRequest ( |
||
context | An HttpContext object that provides references to the intrinsic /// server objects (for example, Request, Response, Session, and Server) used to service /// HTTP requests. | |
return | void |
protected abstract WriteFile ( |
||
context | ||
return | void |
protected static WriteFile ( |
||
context | ||
fileName | string | |
return | void |