Method | Description | |
---|---|---|
GetHttpHandler ( System.Web.Routing.RequestContext requestContext ) : IHttpHandler |
Assigns the correct controller based on the Rebel request and returns a standard MvcHandler to prcess the response, this also stores the render model into the data tokens for the current RouteData.
|
|
RenderRouteHandler ( IControllerFactory controllerFactory, IRebelApplicationContext applicationContext, IRenderModelFactory modelFactory ) : System |
Method | Description | |
---|---|---|
GetHandlerForRoute ( System.Web.Routing.RequestContext requestContext, IRebelRenderModel renderModel ) : IHttpHandler |
this will determine the controller and set the values in the route data
|
|
GetRebelRouteDefinition ( System.Web.Routing.RequestContext requestContext, IRebelRenderModel renderModel ) : |
Returns a RouteDefinition object based on the current renderModel
|
|
HandlePostedValues ( System.Web.Routing.RequestContext requestContext, |
Handles a posted form to an Rebel Url and ensures the correct controller is routed to and that the right DataTokens are set.
|
Method | Description | |
---|---|---|
GetPostedFormInfo ( System.Web.Routing.RequestContext requestContext ) : |
Checks the request and query strings to see if it matches the definition of having a Surface controller posted value, if so, then we return a PostedDataProxyInfo object with the correct information.
|
protected GetHandlerForRoute ( System.Web.Routing.RequestContext requestContext, IRebelRenderModel renderModel ) : IHttpHandler | ||
requestContext | System.Web.Routing.RequestContext | |
renderModel | IRebelRenderModel | |
return | IHttpHandler |
public GetHttpHandler ( System.Web.Routing.RequestContext requestContext ) : IHttpHandler | ||
requestContext | System.Web.Routing.RequestContext | |
return | IHttpHandler |
protected GetRebelRouteDefinition ( System.Web.Routing.RequestContext requestContext, IRebelRenderModel renderModel ) : |
||
requestContext | System.Web.Routing.RequestContext | |
renderModel | IRebelRenderModel | |
return |
protected HandlePostedValues ( System.Web.Routing.RequestContext requestContext, |
||
requestContext | System.Web.Routing.RequestContext | |
postedInfo | ||
renderModel | IRebelRenderModel | |
routeDefinition | The original route definition that would normally be used to route if it were not a POST | |
return | IHttpHandler |
public RenderRouteHandler ( IControllerFactory controllerFactory, IRebelApplicationContext applicationContext, IRenderModelFactory modelFactory ) : System | ||
controllerFactory | IControllerFactory | |
applicationContext | IRebelApplicationContext | |
modelFactory | IRenderModelFactory | |
return | System |