interface RenderingResponse : ServerResponse
Rendering-specific subtype of ServerResponse that exposes model and template data.
Author
Arjen Poutsma
Since
5.0
open static fun create(name: String): Builder
Create a builder with the given template name. |
|
open static fun from(other: RenderingResponse): Builder
Create a builder with the template name, status code, headers and model of the given response. |
|
abstract fun model(): MutableMap<String, Any>
Return the unmodifiable model map. |
|
abstract fun name(): String
Return the name of the template to be rendered. |