Table of Contents

Class MvcHttpHandler

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Verifies and processes an HTTP request.

public class MvcHttpHandler : UrlRoutingHandler, IHttpAsyncHandler, IHttpHandler, IRequiresSessionState
Inheritance
MvcHttpHandler
Implements
IHttpAsyncHandler
IHttpHandler
IRequiresSessionState

Constructors

MvcHttpHandler()

Initializes a new instance of the MvcHttpHandler class.

public MvcHttpHandler()

Methods

BeginProcessRequest(HttpContext, AsyncCallback, object)

Called by ASP.NET to begin asynchronous request processing.

protected virtual IAsyncResult BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, object state)

Parameters

httpContext HttpContext

The HTTP context.

callback AsyncCallback

The asynchronous callback method.

state object

The state.

Returns

IAsyncResult

The status of the asynchronous call.

BeginProcessRequest(HttpContextBase, AsyncCallback, object)

Called by ASP.NET to begin asynchronous request processing.

protected virtual IAsyncResult BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, object state)

Parameters

httpContext HttpContextBase

The base HTTP context.

callback AsyncCallback

The asynchronous callback method.

state object

The state.

Returns

IAsyncResult

The status of the asynchronous call.

EndProcessRequest(IAsyncResult)

Called by ASP.NET when asynchronous request processing has ended.

protected virtual void EndProcessRequest(IAsyncResult asyncResult)

Parameters

asyncResult IAsyncResult

The asynchronous result.

VerifyAndProcessRequest(IHttpHandler, HttpContextBase)

Verifies and processes an HTTP request.

protected override void VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext)

Parameters

httpHandler IHttpHandler

The HTTP handler.

httpContext HttpContextBase

The HTTP context.