public class ViewControllerRegistry extends Object
Constructor and Description |
---|
ViewControllerRegistry() |
Modifier and Type | Method and Description |
---|---|
ViewControllerRegistration |
addViewController(String urlPath) |
protected AbstractHandlerMapping |
getHandlerMapping()
Returns a handler mapping with the mapped ViewControllers; or
null in case of no registrations. |
void |
setOrder(int order)
Specify the order to use for ViewControllers mappings relative to other
HandlerMapping s
configured in the Spring MVC application context. |
public ViewControllerRegistration addViewController(String urlPath)
public void setOrder(int order)
HandlerMapping
s
configured in the Spring MVC application context. The default value for view controllers is 1,
which is 1 higher than the value used for annotated controllers.protected AbstractHandlerMapping getHandlerMapping()
null
in case of no registrations.