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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

InternalResourceView(String url)
Create a new InternalResourceView with the given URL.
InternalResourceView(String url, boolean alwaysInclude)
Create a new InternalResourceView with the given URL.

Method

voidaddStaticAttribute(String name, Object value)
Add static data to this view, exposed in each view.
StringgetUrl()
Return the URL of the resource that this view wraps.
voidsetAlwaysInclude(boolean alwaysInclude)
Specify whether to always include the view rather than forward to it.
voidsetAttributesMap(@Nullable Map attributes)
Set static attributes for this view from a Map.
voidsetContentType(@Nullable String contentType)
Set the content type for this view.
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.
voidsetPreventDispatchLoop(boolean preventDispatchLoop)
Set whether to explicitly prevent dispatching back to the current handler path.
voidsetRequestContextAttribute(@Nullable String requestContextAttribute)
Set the name of the RequestContext attribute for this view.
voidsetUrl(@Nullable String url)
Set the URL of the resource that this view wraps.