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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

InternalResourceViewResolver()
Sets the default #setViewClass view class to #requiredViewClass : by default InternalResourceView , or JstlView if the JSTL API is present.

Method

voidsetCache(boolean cache)
Enable or disable caching.
voidsetContentType(@Nullable String contentType)
Set the content type for all views.
voidsetExposeContextBeansAsAttributes(boolean exposeContextBeansAsAttributes)
Set whether to make all Spring beans in the application context accessible as request attributes, through lazy checking once an attribute gets accessed.
voidsetExposedContextBeanNames(@Nullable String... exposedContextBeanNames)
Specify the names of beans in the context which are supposed to be exposed.
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.
voidsetRedirectHttp10Compatible(boolean redirectHttp10Compatible)
Set whether redirects should stay compatible with HTTP 1.0 clients.
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.