public class FreeMarkerViewResolver extends UrlBasedViewResolver
ViewResolver
for resolving FreeMarkerView
instances, i.e.
FreeMarker templates and custom subclasses of it.
The view class for all views generated by this resolver can be specified
via the "viewClass" property. See UrlBasedViewResolver
for details.
REDIRECT_URL_PREFIX
DEFAULT_CONTENT_TYPE
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
FreeMarkerViewResolver()
Simple constructor.
|
FreeMarkerViewResolver(String prefix,
String suffix)
Convenience constructor with a prefix and suffix.
|
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
requiredViewClass()
Requires
FreeMarkerView . |
afterPropertiesSet, applyLifecycleMethods, canHandle, createView, getApplicationContext, getPrefix, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, resolveViewName, setApplicationContext, setPrefix, setRedirectViewProvider, setRequestContextAttribute, setSuffix, setViewClass, setViewNames
getDefaultCharset, getOrder, getSupportedMediaTypes, setDefaultCharset, setOrder, setSupportedMediaTypes
protected Class<?> requiredViewClass()
FreeMarkerView
.requiredViewClass
in class UrlBasedViewResolver
AbstractUrlBasedView