C# 클래스 Utilities.WebHttpHandlers.BaseHttpHandler

Base handler containing common code for all handlers
상속: IHttpHandler
파일 보기 프로젝트 열기: mrvshah/Utilities

Private Properties

프로퍼티 타입 설명
WriteBytes void

공개 메소드들

메소드 설명
ProcessRequest ( HttpContext context ) : void

Process current request

보호된 메소드들

메소드 설명
WriteFromCache ( string cacheKey, bool isCompressed, string contentType, HttpContext currentContext ) : bool

Check and send response from cache if it exists

비공개 메소드들

메소드 설명
WriteBytes ( byte bytes, bool isCompressed, string contentType, HttpContext currentContext ) : void

Write compressed data in response and flush response to client

메소드 상세

ProcessRequest() 공개 메소드

Process current request
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext Current http request
리턴 void

WriteFromCache() 보호된 메소드

Check and send response from cache if it exists
protected WriteFromCache ( string cacheKey, bool isCompressed, string contentType, HttpContext currentContext ) : bool
cacheKey string Cache key
isCompressed bool Used to drive Content-Encoding response header setting
contentType string Response data conent type. e.g. javascript, css
currentContext System.Web.HttpContext Current http context
리턴 bool