MvcHandler MvcHandler MvcHandler Class

Definition

Selects the controller that will handle an HTTP request.

public class MvcHandler : System.Web.IHttpAsyncHandler, System.Web.SessionState.IRequiresSessionState
type MvcHandler = class
    interface IHttpAsyncHandler
    interface IHttpHandler
    interface IRequiresSessionState
Public Class MvcHandler
Implements IHttpAsyncHandler, IRequiresSessionState
Inheritance
MvcHandlerMvcHandlerMvcHandler
Implements

Constructors

MvcHandler(RequestContext) MvcHandler(RequestContext) MvcHandler(RequestContext)

Initializes a new instance of the MvcHandler class.

Fields

MvcVersionHeaderName MvcVersionHeaderName MvcVersionHeaderName

Contains the header name of the ASP.NET MVC version.

Properties

DisableMvcResponseHeader DisableMvcResponseHeader DisableMvcResponseHeader

Gets or sets a value that indicates whether the MVC response header is disabled.

IsReusable IsReusable IsReusable

Gets a value that indicates whether another request can use the IHttpHandler instance.

RequestContext RequestContext RequestContext

Gets the request context.

Methods

AddVersionHeader(HttpContextBase) AddVersionHeader(HttpContextBase) AddVersionHeader(HttpContextBase)

Adds the version header by using the specified HTTP context.

BeginProcessRequest(HttpContext, AsyncCallback, Object) BeginProcessRequest(HttpContext, AsyncCallback, Object) BeginProcessRequest(HttpContext, AsyncCallback, Object)

Called by ASP.NET to begin asynchronous request processing.

BeginProcessRequest(HttpContextBase, AsyncCallback, Object) BeginProcessRequest(HttpContextBase, AsyncCallback, Object) BeginProcessRequest(HttpContextBase, AsyncCallback, Object)

Called by ASP.NET to begin asynchronous request processing using the base HTTP context.

EndProcessRequest(IAsyncResult) EndProcessRequest(IAsyncResult) EndProcessRequest(IAsyncResult)

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

ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext)

Processes the request by using the specified HTTP request context.

ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase) ProcessRequest(HttpContextBase)

Processes the request by using the specified base HTTP request context.

Explicit Interface Implementations

IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object) IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object) IHttpAsyncHandler.BeginProcessRequest(HttpContext, AsyncCallback, Object)

Called by ASP.NET to begin asynchronous request processing using the base HTTP context.

IHttpAsyncHandler.EndProcessRequest(IAsyncResult) IHttpAsyncHandler.EndProcessRequest(IAsyncResult) IHttpAsyncHandler.EndProcessRequest(IAsyncResult)

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

IHttpHandler.IsReusable IHttpHandler.IsReusable IHttpHandler.IsReusable

Gets a value that indicates whether another request can use the IHttpHandler instance.

IHttpHandler.ProcessRequest(HttpContext) IHttpHandler.ProcessRequest(HttpContext) IHttpHandler.ProcessRequest(HttpContext)

Enables processing of HTTP Web requests by a custom HTTP handler that implements the IHttpHandler interface.

Applies to