public class ViewControllerRegistry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
order |
private java.util.List<ViewControllerRegistration> |
registrations |
Constructor and Description |
---|
ViewControllerRegistry() |
Modifier and Type | Method and Description |
---|---|
ViewControllerRegistration |
addViewController(java.lang.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. |
private final java.util.List<ViewControllerRegistration> registrations
private int order
public ViewControllerRegistration addViewController(java.lang.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.