C# Class Utilities.WebHttpHandlers.BaseHttpHandler

Base handler containing common code for all handlers
Inheritance: IHttpHandler
Afficher le fichier Open project: mrvshah/Utilities

Private Properties

Свойство Type Description
WriteBytes void

Méthodes publiques

Méthode Description
ProcessRequest ( HttpContext context ) : void

Process current request

Méthodes protégées

Méthode Description
WriteFromCache ( string cacheKey, bool isCompressed, string contentType, HttpContext currentContext ) : bool

Check and send response from cache if it exists

Private Methods

Méthode Description
WriteBytes ( byte bytes, bool isCompressed, string contentType, HttpContext currentContext ) : void

Write compressed data in response and flush response to client

Method Details

ProcessRequest() public méthode

Process current request
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext Current http request
Résultat void

WriteFromCache() protected méthode

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
Résultat bool