public abstract class AbstractWebScriptViewResolver
extends org.springframework.web.servlet.view.UrlBasedViewResolver
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
useNullSentinel
True if the resolver should cache "null" lookups
|
FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX| Constructor and Description |
|---|
AbstractWebScriptViewResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Override the SpringMVC default caching strategy with one that uses a ConcurrentHashMap impl.
|
void |
removeFromCache(String viewName,
Locale locale)
Override the SpringMVC default caching strategy with one that uses a ConcurrentHashMap impl.
|
org.springframework.web.servlet.View |
resolveViewName(String viewName,
Locale locale)
Override the SpringMVC default caching strategy with one that uses a ConcurrentHashMap impl.
|
buildView, canHandle, createView, getAttributesMap, getCacheKey, getContentType, getExposePathVariables, getOrder, getPrefix, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, loadView, requiredViewClass, setAttributes, setAttributesMap, setContentType, setExposePathVariables, setOrder, setPrefix, setRedirectContextRelative, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass, setViewNamesgetCacheLimit, isCache, isCacheUnresolved, setCache, setCacheLimit, setCacheUnresolvedgetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected boolean useNullSentinel
public org.springframework.web.servlet.View resolveViewName(String viewName, Locale locale) throws Exception
resolveViewName in interface org.springframework.web.servlet.ViewResolverresolveViewName in class org.springframework.web.servlet.view.AbstractCachingViewResolverExceptionpublic void removeFromCache(String viewName, Locale locale)
removeFromCache in class org.springframework.web.servlet.view.AbstractCachingViewResolverpublic void clearCache()
clearCache in class org.springframework.web.servlet.view.AbstractCachingViewResolverCopyright © 2005–2021 Alfresco Software. All rights reserved.