Class MvcRouteHandler
Creates an object that implements the IHttpHandler interface and passes the request context to it.
public class MvcRouteHandler : IRouteHandler
- Inheritance
-
MvcRouteHandler
- Implements
-
IRouteHandler
- Inherited Members
Constructors
MvcRouteHandler()
Initializes a new instance of the MvcRouteHandler class.
public MvcRouteHandler()
MvcRouteHandler(IControllerFactory)
Initializes a new instance of the MvcRouteHandler class using the specified factory controller object.
public MvcRouteHandler(IControllerFactory controllerFactory)
Parameters
controllerFactoryIControllerFactoryThe controller factory.
Methods
GetHttpHandler(RequestContext)
Returns the HTTP handler by using the specified HTTP context.
protected virtual IHttpHandler GetHttpHandler(RequestContext requestContext)
Parameters
requestContextRequestContextThe request context.
Returns
- IHttpHandler
The HTTP handler.
GetSessionStateBehavior(RequestContext)
Returns the session behavior.
protected virtual SessionStateBehavior GetSessionStateBehavior(RequestContext requestContext)
Parameters
requestContextRequestContextThe request context.
Returns
- SessionStateBehavior
The session behavior.