spring-framework / org.springframework.web.reactive.result.view.script / ScriptTemplateViewResolver / <init>

<init>

ScriptTemplateViewResolver()

Sets the default view class to #requiredViewClass: by default ScriptTemplateView.

ScriptTemplateViewResolver(prefix: String, suffix: String)

A convenience constructor that allows for specifying prefix and suffix as constructor arguments.

Parameters

prefix - the prefix that gets prepended to view names when building a URL

suffix - the suffix that gets appended to view names when building a URL