org.springframework.web.servlet.handler.metadata
public class: PathMap [javadoc |
source]
java.lang.Object
org.springframework.web.servlet.handler.metadata.PathMap
Deprecated! as - of Spring 2.5, in favor of annotation-based request mapping.
To be removed in Spring 3.0.
Attribute to be used on Controller classes to allow for automatic URL mapping
without web controllers being defined as beans in an XML bean definition file.
The path map should be the path in the current application, such as /foo.cgi.
If there is no leading "/", one will be prepended.
Application code must use the Commons Attributes indexer tool to use this option.
- author:
Rod - Johnson
- @org.apache.commons.attributes.Indexed():
| Constructor: |
public PathMap(String url) {
this.url = url;
}
Create a new PathMap attribute for the given URL. |
| Method from org.springframework.web.servlet.handler.metadata.PathMap Summary: |
|---|
|
getUrl |
| Method from org.springframework.web.servlet.handler.metadata.PathMap Detail: |
public String getUrl() {
return this.url;
} Deprecated!Return the URL that this attribute indicates. |