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
httpContext
HttpContextThe HTTP context.
callback
AsyncCallbackThe asynchronous callback method.
state
objectThe 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
HttpContextBaseThe base HTTP context.
callback
AsyncCallbackThe asynchronous callback method.
state
objectThe 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
IAsyncResultThe asynchronous result.
VerifyAndProcessRequest(IHttpHandler, HttpContextBase)
Verifies and processes an HTTP request.
protected override void VerifyAndProcessRequest(IHttpHandler httpHandler, HttpContextBase httpContext)
Parameters
httpHandler
IHttpHandlerThe HTTP handler.
httpContext
HttpContextBaseThe HTTP context.