C# 클래스 DynamicImageHandler.ImageHandler

Http Handler
상속: IHttpHandler
파일 보기 프로젝트 열기: CaptiveAire/Dynamic-Image-Handler

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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

메소드 상세

AddFilter() 공개 메소드

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

ProcessRequest() 공개 메소드

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

RemoveFilter() 공개 메소드

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