@ResponseBody
2016-01-19 22:04
197 查看
/**
* Annotation that indicates a method return value should be bound to the web
* response body. Supported for annotated handler methods in Servlet environments.
*
* <p>As of version 4.0 this annotation can also be added on the type level in
* which case it is inherited and does not need to be added on the method level.
*
* @author Arjen Poutsma
* @since 3.0
* @see RequestBody
* @see RestController
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ResponseBody {
}
* Annotation that indicates a method return value should be bound to the web
* response body. Supported for annotated handler methods in Servlet environments.
*
* <p>As of version 4.0 this annotation can also be added on the type level in
* which case it is inherited and does not need to be added on the method level.
*
* @author Arjen Poutsma
* @since 3.0
* @see RequestBody
* @see RestController
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ResponseBody {
}
相关文章推荐
- 清华EMBA课程系列思考之四 -- 组织行为学
- 万年历
- Java拼接字符串时,去掉最后一个多余的逗号
- Oracle package包头和package body包体例子
- css设置table里面单元格强制换行和强制不换行
- mongoose 增删改查 基础篇
- Java拼接字符串时,去掉最后一个多余的逗号
- Java拼接字符串时,去掉最后一个多余的逗号
- eclipse 快捷键
- PHP+Apache配置备忘
- 同步synchronized用法
- 使用scipy.spatial.Delaunay 三角网的构建
- java数组内存分析
- python核心编程-使用线程锁
- mysql在centos下的安装
- CRLF injection 简单总结
- Python 5.4 定制类
- 机器学习导论
- VirtualBox安装时发生严重错误的解决办法
- 【LeetCode OJ 263】Ugly Number