org.springframework.web.servlet.config
Class MvcViewControllers
java.lang.Object
org.springframework.context.config.AbstractFeatureSpecification
org.springframework.web.servlet.config.MvcViewControllers
- All Implemented Interfaces:
- FeatureSpecification, SourceAwareSpecification
public final class MvcViewControllers
- extends AbstractFeatureSpecification
Specifies the Spring MVC "View Controllers" container feature. The
feature allows specifying one or more path to view name mappings.
It sets up the following fine-grained configuration:
- Since:
- 3.1
- Author:
- Rossen Stoyanchev, Chris Beams
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MvcViewControllers
public MvcViewControllers(String path)
MvcViewControllers
public MvcViewControllers(String path,
String viewName)
viewController
public MvcViewControllers viewController(String path)
viewController
public MvcViewControllers viewController(String path,
String viewName)
doValidate
protected void doValidate(ProblemCollector problems)
- Specified by:
doValidate in class AbstractFeatureSpecification