站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

PathMap (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.web.servlet.handler.metadata
Class PathMap

java.lang.Object
  extended by org.springframework.web.servlet.handler.metadata.PathMap

public class PathMap
extends Object

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

Constructor Summary
PathMap(String url)
          Create a new PathMap attribute for the given URL.
 
Method Summary
 String getUrl()
          Return the URL that this attribute indicates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathMap

public PathMap(String url)
Create a new PathMap attribute for the given URL.

Method Detail

getUrl

public String getUrl()
Return the URL that this attribute indicates.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.