C# Class Elmah.ErrorLogPageFactory

HTTP handler factory that dispenses handlers for rendering views and resources needed to display the error log.
Inheritance: IHttpHandlerFactory
Exibir arquivo Open project: clearwavebuild/elmah Class Usage Examples

Public Methods

Method Description
GetHandler ( System.Web.HttpContextBase context, string requestType, string url, string pathTranslated ) : IHttpHandler

Returns an object that implements the IHttpHandler interface and which is responsible for serving the request.

ReleaseHandler ( IHttpHandler handler ) : void

Enables the factory to reuse an existing handler instance.

Private Methods

Method Description
FindHandler ( string name ) : IHttpHandler
GetAuthorizationHandlers ( System.Web.HttpContextBase context ) : IEnumerable
GetRequestUrl ( System.Web.HttpContextBase context ) : Uri
IHttpHandlerFactory ( HttpContext context, string requestType, string url, string pathTranslated ) : IHttpHandler
IsAuthorized ( System.Web.HttpContextBase context ) : bool?

Determines if the request is authorized by objects implementing IRequestAuthorizationHandler.

Method Details

GetHandler() public method

Returns an object that implements the IHttpHandler interface and which is responsible for serving the request.
public GetHandler ( System.Web.HttpContextBase context, string requestType, string url, string pathTranslated ) : IHttpHandler
context System.Web.HttpContextBase
requestType string
url string
pathTranslated string
return IHttpHandler

ReleaseHandler() public method

Enables the factory to reuse an existing handler instance.
public ReleaseHandler ( IHttpHandler handler ) : void
handler IHttpHandler
return void