deprecated
@deprecated是javadoc原生的taglet。用来标注一些接口已经被废弃,不再建议使用。
/**
* @param name the name of student.
* @return the student object.
*/
@Deprecated
@RequestMapping(value = "name.{json|html}", method = RequestMethod.GET)
public @ResponseBody
Student getStudentInJSON(@PathVariable("json|html") String name) {
...
}