public class GroovyPageViewResolver extends InternalResourceViewResolver implements GrailsViewResolver
Evaluates the existence of a view for different extensions choosing which one to delegate to.
Modifiers | Name | Description |
---|---|---|
static String |
GSP_SUFFIX |
|
static String |
JSP_SUFFIX |
|
protected GrailsConventionGroovyPageLocator |
groovyPageLocator |
|
protected GroovyPagesTemplateEngine |
templateEngine |
Constructor and description |
---|
GroovyPageViewResolver() Constructor. |
GroovyPageViewResolver(GroovyPagesTemplateEngine templateEngine, GrailsConventionGroovyPageLocator groovyPageLocator) |
Type Params | Return Type | Name and description |
---|---|---|
|
public View |
call() |
|
public void |
clearCache() |
|
protected View |
createFallbackView(String viewName) |
|
protected View |
createGrailsView(String viewName) |
|
protected View |
createJstlView(String viewName) |
|
public long |
getCacheTimeout() |
|
public boolean |
isAllowGrailsViewCaching() |
|
protected View |
loadView(String viewName, Locale locale) |
|
protected String |
resolveCurrentControllerKeyPrefixes(boolean absolute)
|
|
public void |
setAllowGrailsViewCaching(boolean allowGrailsViewCaching) |
|
public void |
setCacheTimeout(long cacheTimeout) |
|
public void |
setGroovyPageLocator(GrailsConventionGroovyPageLocator groovyPageLocator) |
|
public void |
setResolveJspView(boolean resolveJspView) |
|
public void |
setTemplateEngine(GroovyPagesTemplateEngine templateEngine) |
Constructor.