Example usage for Java org.springframework.web.servlet.view.freemarker FreeMarkerViewResolver fields, constructors, methods, implement or subclass
The text is from its open source code.
FreeMarkerViewResolver() Sets the default #setViewClass view class to #requiredViewClass : by default FreeMarkerView . |
View | resolveViewName(String viewName, Locale locale) |
void | setAllowRequestOverride(boolean allowRequestOverride) Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. |
void | setAllowSessionOverride(boolean allowSessionOverride) Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. |
void | setApplicationContext(@Nullable ApplicationContext context) |
void | setCache(boolean cache) Enable or disable caching. |
void | setContentType(@Nullable String contentType) Set the content type for all views. |
void | setExposeRequestAttributes(boolean exposeRequestAttributes) Set whether all request attributes should be added to the model prior to merging with the template. |
void | setExposeSessionAttributes(boolean exposeSessionAttributes) Set whether all HttpSession attributes should be added to the model prior to merging with the template. |
void | setExposeSpringMacroHelpers(boolean exposeSpringMacroHelpers) Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext". |
void | setOrder(int order) Specify the order value for this ViewResolver bean. |
void | setPrefix(@Nullable String prefix) Set the prefix that gets prepended to view names when building a URL. |
void | setRequestContextAttribute(@Nullable String requestContextAttribute) Set the name of the RequestContext attribute for all views. |
void | setSuffix(@Nullable String suffix) Set the suffix that gets appended to view names when building a URL. |