类 GroovyTemplateProperties
java.lang.Object
org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateProperties
@ConfigurationProperties("spring.groovy.template")
public class GroovyTemplateProperties
extends AbstractTemplateViewResolverProperties
@ConfigurationProperties
for configuring Groovy
templates.- 从以下版本开始:
- 1.1.0
- 作者:
- Dave Syer, Marten Deinum
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Class
<? extends groovy.text.markup.BaseTemplate> boolean
boolean
boolean
boolean
boolean
void
setAutoEscape
(boolean autoEscape) void
setAutoIndent
(boolean autoIndent) void
setAutoIndentString
(String autoIndentString) void
setAutoNewLine
(boolean autoNewLine) void
setBaseTemplateClass
(Class<? extends groovy.text.markup.BaseTemplate> baseTemplateClass) void
setDeclarationEncoding
(String declarationEncoding) void
setExpandEmptyElements
(boolean expandEmptyElements) void
void
setNewLineString
(String newLineString) void
setResourceLoaderPath
(String resourceLoaderPath) void
setUseDoubleQuotes
(boolean useDoubleQuotes) 从类继承的方法 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
- 另请参阅:
-
DEFAULT_PREFIX
- 另请参阅:
-
DEFAULT_SUFFIX
- 另请参阅:
-
DEFAULT_REQUEST_CONTEXT_ATTRIBUTE
- 另请参阅:
-
-
构造器详细资料
-
GroovyTemplateProperties
public GroovyTemplateProperties()
-
-
方法详细资料
-
isAutoEscape
public boolean isAutoEscape() -
setAutoEscape
public void setAutoEscape(boolean autoEscape) -
isAutoIndent
public boolean isAutoIndent() -
setAutoIndent
public void setAutoIndent(boolean autoIndent) -
getAutoIndentString
-
setAutoIndentString
-
isAutoNewLine
public boolean isAutoNewLine() -
setAutoNewLine
public void setAutoNewLine(boolean autoNewLine) -
getBaseTemplateClass
-
setBaseTemplateClass
public void setBaseTemplateClass(Class<? extends groovy.text.markup.BaseTemplate> baseTemplateClass) -
getDeclarationEncoding
-
setDeclarationEncoding
-
isExpandEmptyElements
public boolean isExpandEmptyElements() -
setExpandEmptyElements
public void setExpandEmptyElements(boolean expandEmptyElements) -
getLocale
-
setLocale
-
getNewLineString
-
setNewLineString
-
getResourceLoaderPath
-
setResourceLoaderPath
-
isUseDoubleQuotes
public boolean isUseDoubleQuotes() -
setUseDoubleQuotes
public void setUseDoubleQuotes(boolean useDoubleQuotes)
-