Class MjmlProperties
java.lang.Object
dev.jcputney.mjml.spring.MjmlProperties
Spring Boot configuration properties for mjml-java.
Bound from the spring.mjml.* namespace.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintbooleanvoidsetDirection(String direction) voidsetIncludeAllowedSchemes(Set<String> includeAllowedSchemes) voidsetLanguage(String language) voidsetMaxIncludeDepth(int maxIncludeDepth) voidsetMaxInputSize(int maxInputSize) voidsetMaxNestingDepth(int maxNestingDepth) voidsetSanitizeOutput(boolean sanitizeOutput) voidsetTemplateLocation(String templateLocation) voidsetThymeleafEnabled(Boolean thymeleafEnabled)
-
Constructor Details
-
MjmlProperties
public MjmlProperties()
-
-
Method Details
-
getLanguage
-
setLanguage
-
getDirection
-
setDirection
-
isSanitizeOutput
public boolean isSanitizeOutput() -
setSanitizeOutput
public void setSanitizeOutput(boolean sanitizeOutput) -
getMaxInputSize
public int getMaxInputSize() -
setMaxInputSize
public void setMaxInputSize(int maxInputSize) -
getMaxNestingDepth
public int getMaxNestingDepth() -
setMaxNestingDepth
public void setMaxNestingDepth(int maxNestingDepth) -
getMaxIncludeDepth
public int getMaxIncludeDepth() -
setMaxIncludeDepth
public void setMaxIncludeDepth(int maxIncludeDepth) -
getTemplateLocation
-
setTemplateLocation
-
getIncludeAllowedSchemes
-
setIncludeAllowedSchemes
-
getThymeleafEnabled
-
setThymeleafEnabled
-