org.jboss.aerogear.controller.view
Class DefaultViewResolver
java.lang.Object
org.jboss.aerogear.controller.view.DefaultViewResolver
- All Implemented Interfaces:
- ViewResolver
public class DefaultViewResolver
- extends Object
- implements ViewResolver
A ViewResolver that resolves Java Server Page (JSP) views.
The pattern for resolving a view is as follows:
/WEB-INF/pages/TargetClassName/TargetMethodName.jsp
- See Also:
View
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PREFIX
private static final String DEFAULT_PREFIX
- See Also:
- Constant Field Values
DEFAULT_TEMPLATE_FORMAT
private static final String DEFAULT_TEMPLATE_FORMAT
- See Also:
- Constant Field Values
DefaultViewResolver
public DefaultViewResolver()
resolveViewPathFor
public String resolveViewPathFor(Route route)
- Specified by:
resolveViewPathFor in interface ViewResolver
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.