Java org.springframework.web.servlet.view UrlBasedViewResolver fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.view UrlBasedViewResolver fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.view UrlBasedViewResolver.

The text is from its open source code.

Subclass

org.springframework.web.servlet.view.UrlBasedViewResolver has subclasses.
Click this link to see all its subclasses.

Field

StringREDIRECT_URL_PREFIX
Prefix for special view names that specify a redirect URL (usually to a controller after a form has been submitted and processed).

Constructor

Method

voidsetContentType(@Nullable String contentType)
Set the content type for all views.
voidsetOrder(int order)
Specify the order value for this ViewResolver bean.
voidsetPrefix(@Nullable String prefix)
Set the prefix that gets prepended to view names when building a URL.
voidsetSuffix(@Nullable String suffix)
Set the suffix that gets appended to view names when building a URL.
voidsetViewClass(@Nullable Class viewClass)
Set the view class that should be used to create views.