Class 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.- Since:
- 1.1.0
- Author:
- Dave Syer, Marten Deinum
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass
<? 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) Methods inherited from class org.springframework.boot.autoconfigure.template.AbstractTemplateViewResolverProperties
applyToMvcViewResolver, getPrefix, getRequestContextAttribute, getSuffix, isAllowRequestOverride, isAllowSessionOverride, isExposeRequestAttributes, isExposeSessionAttributes, isExposeSpringMacroHelpers, setAllowRequestOverride, setAllowSessionOverride, setExposeRequestAttributes, setExposeSessionAttributes, setExposeSpringMacroHelpers, setPrefix, setRequestContextAttribute, setSuffix
Methods inherited from class org.springframework.boot.autoconfigure.template.AbstractViewResolverProperties
getCharset, getCharsetName, getContentType, getViewNames, isCache, isCheckTemplateLocation, isEnabled, setCache, setCharset, setCheckTemplateLocation, setContentType, setEnabled, setViewNames
-
Field Details
-
DEFAULT_RESOURCE_LOADER_PATH
- See Also:
-
DEFAULT_PREFIX
- See Also:
-
DEFAULT_SUFFIX
- See Also:
-
DEFAULT_REQUEST_CONTEXT_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
GroovyTemplateProperties
public GroovyTemplateProperties()
-
-
Method Details
-
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)
-