Метод | Описание | |
---|---|---|
ProcessRequest ( |
Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
AddCacheControlHeader ( |
||
CalculateMD5 ( string value ) : string | ||
GetTempFileName ( ) : string | ||
InitializeVersion ( ) : string | ||
Write304 ( |
protected CanUseCache ( string cacheFileName ) : bool | ||
cacheFileName | string | |
Результат | 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. |
Результат | string |
protected MagickHandler ( IUrlResolver urlResolver, MagickFormatInfo formatInfo ) : System | ||
urlResolver | IUrlResolver | |
formatInfo | MagickFormatInfo | |
Результат | System |
protected static MoveToCache ( string fileName, string cacheFileName ) : void | ||
fileName | string | |
cacheFileName | string | |
Результат | 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. | |
Результат | void |
protected abstract WriteFile ( |
||
context | ||
Результат | void |
protected static WriteFile ( |
||
context | ||
fileName | string | |
Результат | void |