类 GroovyTemplateProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
- org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
- org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateProperties
@ConfigurationProperties(prefix="spring.groovy.template", ignoreUnknownFields=true) public class GroovyTemplateProperties extends AbstractTemplateViewResolverProperties
ConfigurationProperties
for configuring Groovy templates.- 从以下版本开始:
- 1.1.0
字段概要
字段 修饰符和类型 字段 说明 static String
DEFAULT_PREFIX
static String
DEFAULT_REQUEST_CONTEXT_ATTRIBUTE
static String
DEFAULT_RESOURCE_LOADER_PATH
static String
DEFAULT_SUFFIX
构造器概要
构造器 构造器 说明 GroovyTemplateProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getResourceLoaderPath()
void
setResourceLoaderPath(String resourceLoaderPath)
从类继承的方法 org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
applyToMvcViewResolver, getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix
从类继承的方法 org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNames
字段详细资料
DEFAULT_RESOURCE_LOADER_PATH
public static final String DEFAULT_RESOURCE_LOADER_PATH
- 另请参阅:
- 常量字段值
DEFAULT_PREFIX
public static final String DEFAULT_PREFIX
- 另请参阅:
- 常量字段值
DEFAULT_SUFFIX
public static final String DEFAULT_SUFFIX
- 另请参阅:
- 常量字段值
DEFAULT_REQUEST_CONTEXT_ATTRIBUTE
public static final String DEFAULT_REQUEST_CONTEXT_ATTRIBUTE
- 另请参阅:
- 常量字段值
构造器详细资料
GroovyTemplateProperties
public GroovyTemplateProperties()
方法详细资料
getResourceLoaderPath
public String getResourceLoaderPath()
setResourceLoaderPath
public void setResourceLoaderPath(String resourceLoaderPath)