Class MvcHttpHandler
Verifies and processes an HTTP request.
public class MvcHttpHandler : UrlRoutingHandler, IHttpAsyncHandler, IHttpHandler, IRequiresSessionState
- Inheritance
-
MvcHttpHandler
- Implements
-
IHttpAsyncHandlerIHttpHandlerIRequiresSessionState
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
httpContextHttpContextThe HTTP context.
callbackAsyncCallbackThe asynchronous callback method.
stateobjectThe 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
httpContextHttpContextBaseThe base HTTP context.
callbackAsyncCallbackThe asynchronous callback method.
stateobjectThe 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
asyncResultIAsyncResultThe asynchronous result.
VerifyAndProcessRequest(IHttpHandler, HttpContextBase)
Verifies and processes an HTTP request.
protected override void VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext)
Parameters
httpHandlerIHttpHandlerThe HTTP handler.
httpContextHttpContextBaseThe HTTP context.