Java-API-Package:org.springframework.web.bind.annotation
| ylbtech-Java-API-Package:org.springframework.web.bind.annotation |
| 1.返回顶部 |
Package org.springframework.web.bind.annotation
See: Description
Interface Summary Interface Description ValueConstants Common value constants shared between bind annotations.Enum Summary Enum Description RequestMethod Java 5 enumeration of HTTP request methods.Annotation Types Summary Annotation Type Description ControllerAdvice Specialization of@Componentfor classes that declare@ExceptionHandler,@InitBinder, or@ModelAttributemethods to be shared across multiple@Controllerclasses.CookieValue Annotation which indicates that a method parameter should be bound to an HTTP cookie.CrossOrigin Annotation for permitting cross-origin requests on specific handler classes and/or handler methods.DeleteMapping Annotation for mapping HTTPDELETErequests onto specific handler methods.ExceptionHandler Annotation for handling exceptions in specific handler classes and/or handler methods.GetMapping Annotation for mapping HTTPGETrequests onto specific handler methods.InitBinder Annotation that identifies methods which initialize theWebDataBinderwhich will be used for populating command and form object arguments of annotated handler methods.Mapping Meta annotation that indicates a web mapping annotation.MatrixVariable Annotation which indicates that a method parameter should be bound to a name-value pair within a path segment.ModelAttribute Annotation that binds a method parameter or method return value to a named model attribute, exposed to a web view.PatchMapping Annotation for mapping HTTPPATCHrequests onto specific handler methods.PathVariable Annotation which indicates that a method parameter should be bound to a URI template variable.PostMapping Annotation for mapping HTTPPOSTrequests onto specific handler methods.PutMapping Annotation for mapping HTTPPUTrequests onto specific handler methods.RequestAttribute Annotation to bind a method parameter to a request attribute.RequestBody Annotation indicating a method parameter should be bound to the body of the web request.RequestHeader Annotation which indicates that a method parameter should be bound to a web request header.RequestMapping Annotation for mapping web requests onto methods in request-handling classes with flexible method signatures.RequestParam Annotation which indicates that a method parameter should be bound to a web request parameter.RequestPart Annotation that can be used to associate the part of a "multipart/form-data" request with a method argument.ResponseBody Annotation that indicates a method return value should be bound to the web response body.ResponseStatus Marks a method or exception class with the statusResponseStatus.code()andResponseStatus.reason()that should be returned.RestController A convenience annotation that is itself annotated with@Controllerand@ResponseBody.RestControllerAdvice A convenience annotation that is itself annotated with@ControllerAdviceand@ResponseBody.SessionAttribute Annotation to bind a method parameter to a session attribute.SessionAttributes Annotation that indicates the session attributes that a specific handler uses.
Package org.springframework.web.bind.annotation Description
| 2. 返回顶部 |
| 3.返回顶部 |
| 4.返回顶部 |
| 5.返回顶部 |
| 6.返回顶部 |
![]() |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |
Java-API-Package:org.springframework.web.bind.annotation的更多相关文章
- Java-Class-@I:org.springframework.web.bind.annotation.PostMapping
ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.PostMapping 1.返回顶部 2.返回顶部 1. package ...
- Java-Class-@I:org.springframework.web.bind.annotation.RestController
ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.RestController 1.返回顶部 2.返回顶部 1. pack ...
- Java-Class-@I:org.springframework.web.bind.annotation.RequestMapping
ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.RequestMapping 1.返回顶部 2.返回顶部 1. pack ...
- Java-Class-@I:org.springframework.web.bind.annotation.RequestBody
ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.RequestBody 1.返回顶部 2.返回顶部 1. package ...
- org.springframework.web.bind.annotation不存在 site:blog.csdn.net(IDEA中运行springboot时报错)
原因:MAVEN版本与IDEA版本不兼容问题, maven虽然更新比较慢,但是最新的3.6.6在与IDEA2019版本及以下版本兼容时会出现以上问题 解决办法:重新配置一个3.6低级别版本的maven ...
- org.springframework.web.bind.annotation重定向的问题
@RequestMapping(value="/redir/authcode") public ModelAndView getAuthCode(){ String authUrl ...
- spring org.springframework.web.bind.annotation 常用注解
开发中常用的注解记录,查缺补漏 Request注解 @RequestBody @RequestHeader @RequestMapping @RequestParam @RequestPart @Co ...
- Elasticsearch 5.4.3实战--Java API调用:索引mapping创建
因为项目开发使用的是Java语言, 项目的开发架构是Spring MVC+ maven的jar包管理, 所以今天重点说说ES 5.4.3 的Java API的源码实战 1. pom.xml文件增加依 ...
- Spring MVC报异常:org.springframework.web.util.NestedServletException: Request processing failed
在使用SpringMVC绑定基本类型(如String,Integer等)参数时,应通过@RequestParam注解指定具体的参数名称,否则,当源代码在非debug模式下编译后,运行时会引发Handl ...
随机推荐
- SecureCRT按退格键出现^H问题
1. 选择选项>>会话选项>>终端>>映射键
- 算法总结之 在数组中找到出现次数 > N/K的数
题目1 给定一个整型数组arr, 打印其中出现次数大于一半的数, 如果没有这样的数,打印提示信息 进阶 给定一个整型数组arr, 再给定一个整数K, 打印所有出现次数大于 N/K的数,如果没有这样的 ...
- HBase-存储-KeyValue格式
HBase-存储-KeyValue格式 本质上,HFile中的每个KeyValue都是一个低级的字节数组,它允许零复制访问数据. KeyValue格式如下 该结构以两个分别表示键长度(Key Leng ...
- web容器调用Filter和Servlet顺序学习
web容器调用Filter和Servlet顺序学习 一直对Filter和Servlet在哪里被web容器调用迷惑,后查看tomcat源码,揭开了其面纱.1. 下面是一个简单的时序图: 2. 对上 ...
- Debugging Tools for Windows__from WDK7
1. 主要要用到两个工具: (1).WinDBG 这个主要用于 非IDE下 调试程序/查看信息等 (2).cdb.exe 这个主要是用在 Qt5.3.2 for VS10 的单步调试器 2. WDK7 ...
- 利用Swoole实现PHP+websocket直播,即使通讯代码,及linux下swoole安装基本配置
swoole安装基本配置 php安装swoole 1. 下载swoole安装 wget http://pecl.php.net/get/swoole-1.9.1.tgz tar -zxvf swool ...
- QT Creator引用win32 api类库方法(.lib)
由于Qt Creator使用的是mingW进行程序编译,该编译方式无法识别#pragma comment(lib,"lib\\hvdailt.lib")引用. 所以需要在.Pro文 ...
- POJ1741 经典树分治
题意:有一棵树,每条边有一个距离,求dis(u,v)<=k的点的对数 题解:树分治,对于一颗树上的两点,要么在同一颗子树上,要么在不同子树上,要么一个点是根,另一个在某一子树上,对于第一种情况我 ...
- memset函数用法及注意事项
头文件 #include<cstring>// or #include<memory.h> ------------------------------------------ ...
- LINUX C的学习
好吧看着LINUX那么多的命令好难受= =看到第三章有介绍C的编译的,先写下试试喽. 可以用gedit或者vim,老师虽然大肆吹捧vim的经典原谅用的真吉儿难受- -,一开始没安装vim用的gedit ...
