org.springframework.web.servlet.view
Class AbstractUrlBasedView
org.springframework.context.support.ApplicationObjectSupport
|
+--org.springframework.web.context.support.WebApplicationObjectSupport
|
+--org.springframework.web.servlet.view.AbstractView
|
+--org.springframework.web.servlet.view.AbstractUrlBasedView
- Direct Known Subclasses:
- InternalResourceView, RedirectView, VelocityView
- public abstract class AbstractUrlBasedView
- extends AbstractView
Abstract base class for URL-based views. Provides a consistent way of
holding the URL that a View wraps, in the form of a "url" bean property.
- Author:
- Juergen Hoeller
- Since: 13.12.2003
| Method Summary |
final String | getUrl() Return the URL of the resource that this view wraps. |
final void | setUrl(String url) Set the URL of the resource that this view wraps. |
getUrl
public final String getUrl()
- Return the URL of the resource that this view wraps.
setUrl
public final void setUrl(String url)
- Set the URL of the resource that this view wraps.
The URL must be appropriate for the concrete View implementation.
to Class java.lang.String