C# Class DynamicImageHandler.ImageHandler

Http Handler
Inheritance: IHttpHandler
Datei anzeigen Open project: CaptiveAire/Dynamic-Image-Handler

Public Methods

Method Description
AddFilter ( IImageFilter imageFilter ) : void

The add filter.

ProcessRequest ( HttpContext context ) : void

Retrieve or update cache, and write to output stream

RemoveFilter ( IImageFilter imageFilter ) : void

The remove filter.

Private Methods

Method Description
CheckETag ( HttpContext context, string eTagCode ) : bool

Check if the ETag that sent from the client is match to the current ETag. If so, set the status code to 'Not Modified' and stop the response.

GetImageData ( IImageParameters parameters, HttpContext context, ImageFormat imageFormat ) : byte[]

Takes care of resizing image from url parameters

Method Details

AddFilter() public method

The add filter.
public AddFilter ( IImageFilter imageFilter ) : void
imageFilter IImageFilter /// The image filter. ///
return void

ProcessRequest() public method

Retrieve or update cache, and write to output stream
/// Unable to determine image parameter provider ///
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext ///
return void

RemoveFilter() public method

The remove filter.
public RemoveFilter ( IImageFilter imageFilter ) : void
imageFilter IImageFilter /// The image filter. ///
return void