C# Class Bombsquad.DynamicMedia.DynamicMediaHandlerBase

Inheritance: IHttpHandler
Afficher le fichier Open project: bmbsqd/dynamic-media

Méthodes publiques

Méthode Description
ProcessRequest ( HttpContext context ) : void
ServeInvalidMethod ( HttpResponse response ) : void

Méthodes protégées

Méthode Description
DynamicMediaHandlerBase ( ) : System
ServeIllegalExtensionResult ( System.Web.HttpResponseBase response ) : void
ServeNotFoundResult ( System.Web.HttpResponseBase response ) : void

Private Methods

Méthode Description
GetOriginalPath ( System.Web.HttpRequestBase request, IMediaTransformer mediaTransformer ) : string
GetRequestPath ( System.Web.HttpRequestBase request ) : string
HandleGetRequest ( HttpContext context, IResult>.Func resultWrapper ) : void
ServeOriginal ( string path, IStorageFile storageFile, IFormatInfo outputFormat ) : IResult
TransformMedia ( Stream original, IFormatInfo outputFormat, string path, IMediaTransformer mediaTransformer ) : IResult
TryGetResult ( System.Web.HttpRequestBase request, IFormatInfo outputFormat, bool transformMedia, IMediaTransformer mediaTransformer, IResult &result ) : bool

Method Details

DynamicMediaHandlerBase() protected méthode

protected DynamicMediaHandlerBase ( ) : System
Résultat System

ProcessRequest() public méthode

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
Résultat void

ServeIllegalExtensionResult() protected méthode

protected ServeIllegalExtensionResult ( System.Web.HttpResponseBase response ) : void
response System.Web.HttpResponseBase
Résultat void

ServeInvalidMethod() public méthode

public ServeInvalidMethod ( HttpResponse response ) : void
response System.Web.HttpResponse
Résultat void

ServeNotFoundResult() protected méthode

protected ServeNotFoundResult ( System.Web.HttpResponseBase response ) : void
response System.Web.HttpResponseBase
Résultat void