api

http4k / org.http4k.template.dust / TemplateExpansion

TemplateExpansion

interface TemplateExpansion (source)

Functions

Name Summary
expandTemplate abstract fun expandTemplate(templateName: String, params: Any, onMissingTemplate: (templateName: String) -> Nothing = ::missingTemplateIllegalArgument): String

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T

Inheritors

Name Summary
TemplateExpansionService interface TemplateExpansionService : AutoCloseable, TemplateExpansion