C# Class ImageMagick.Web.Handlers.GzipHandler

IHttpHandler that can be used to compress files before they are written to the response.
Inheritance: MagickHandler
ファイルを表示 Open project: dlemstra/Magick.NET

Protected Methods

Method Description
WriteFile ( HttpContext context ) : void

Writes the file to the response.

Private Methods

Method Description
CanCompress ( MagickFormatInfo formatInfo ) : bool
CreateCompressStream ( FileStream stream, string encoding ) : Stream
CreateCompressedFile ( string encoding, string cacheFileName ) : void
GetCompressedFileName ( HttpContext context ) : string
GetEncoding ( HttpRequest request ) : string
GzipHandler ( IUrlResolver urlResolver, MagickFormatInfo formatInfo ) : System

Method Details

WriteFile() protected method

Writes the file to the response.
protected WriteFile ( HttpContext context ) : void
context System.Web.HttpContext
return void