Example usage for Java org.springframework.web.servlet.view InternalResourceView fields, constructors, methods, implement or subclass
The text is from its open source code.
InternalResourceView(String url) Create a new InternalResourceView with the given URL. | |
InternalResourceView(String url, boolean alwaysInclude) Create a new InternalResourceView with the given URL. |
void | addStaticAttribute(String name, Object value) Add static data to this view, exposed in each view. |
String | getUrl() Return the URL of the resource that this view wraps. |
void | setAlwaysInclude(boolean alwaysInclude) Specify whether to always include the view rather than forward to it. |
void | setAttributesMap(@Nullable Map Set static attributes for this view from a Map. |
void | setContentType(@Nullable String contentType) Set the content type for this view. |
void | setExposeContextBeansAsAttributes(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. |
void | setPreventDispatchLoop(boolean preventDispatchLoop) Set whether to explicitly prevent dispatching back to the current handler path. |
void | setRequestContextAttribute(@Nullable String requestContextAttribute) Set the name of the RequestContext attribute for this view. |
void | setUrl(@Nullable String url) Set the URL of the resource that this view wraps. |