Java-API-Package:org.springframework.web.bind.annotation
ylbtech-Java-API-Package:org.springframework.web.bind.annotation |
1.返回顶部 |
@NonNullApi @NonNullFields
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@Component
for classes that declare@ExceptionHandler
,@InitBinder
, or@ModelAttribute
methods to be shared across multiple@Controller
classes.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 HTTPDELETE
requests onto specific handler methods.ExceptionHandler Annotation for handling exceptions in specific handler classes and/or handler methods.GetMapping Annotation for mapping HTTPGET
requests onto specific handler methods.InitBinder Annotation that identifies methods which initialize theWebDataBinder
which 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 HTTPPATCH
requests onto specific handler methods.PathVariable Annotation which indicates that a method parameter should be bound to a URI template variable.PostMapping Annotation for mapping HTTPPOST
requests onto specific handler methods.PutMapping Annotation for mapping HTTPPUT
requests 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@Controller
and@ResponseBody
.RestControllerAdvice A convenience annotation that is itself annotated with@ControllerAdvice
and@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/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |
转载于:https://www.cnblogs.com/storebook/p/10577895.html
Java-API-Package:org.springframework.web.bind.annotation相关推荐
- swagger使用报错:No enum constant org.springframework.web.bind.annotation.RequestMethod.Get
参考:https://blog.csdn.net/qq_35623773/article/details/84898578 报错 No enum constant org.springframewor ...
- Failed to meta-introspect annotation interface org.springframework.web.bind.annotation.RequestBody:
今天遇到了调试了很久的bug,最后发现是个小问题,报异常如下: Failed to meta-introspect annotation interface org.springframework.w ...
- IDEA 程序包org.springframework.web.bind.annotation不存在
https://www.cnblogs.com/kylinyang/p/13121779.html
- org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert val
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert val ...
- Spring MVC报异常:org.springframework.web.util.NestedServletException: Request processing failed
Spring MVC报异常:org.springframework.web.util.NestedServletException: Request processing failed 参考文章: ( ...
- org.springframework.web.bind.MissingRequestHeaderException: Missing request header ‘token‘ for metho
org.springframework.web.bind.MissingRequestHeaderException: Missing request header 'token' for metho ...
- 报错,null [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException,Failed to con
问题: { "success": false, "code": "S0000", "error" ...
- Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException
废话不多说 上报错 Resolved [org.springframework.web.method.annotation. MethodArgumentTypeMismatchException: ...
- 解决:org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request;
项目场景: 微服务修改保存,出现系统异常 问题描述 报错日志如下: | 2022-10-24 11:32:42.882 |-[1;31mERROR[m [http-nio-9000-exec-4] [ ...
最新文章
- java cms 垃圾回收_Java 9 或将放弃 CMS(并发标记清除垃圾收集器)
- 【高级Java架构师系统学习】java如何开发安卓软件
- 【博客话题】我的linux心路历程
- malloc的内存分配之 malloc(0)的内存分配情况
- Unix 文件系统读写时权限校验
- shell的交互式和非交互式登录
- WCF学习笔记(一):WCF Service Application和WCF Service Library的区别
- 手持“六脉神剑”、横跨软硬领域,揭晓英特尔构筑智慧云基石宝典!
- git tag 的基本用法
- 5种速成数据分析方法
- VC++6.0选择打开文件命令时停止工作解决方法
- Forms 凭票验证
- 多层陶瓷电容器用处_具有综合优异电卡性能的无铅多层陶瓷电容器研究新进展...
- 安卓游戏广告加速插件_从零登顶免费榜榜首 这款头条发行的“特牛”超休闲游戏是如何做到的? | 游戏茶馆...
- 【第三课】Arcgis软件详细介绍
- 创建物理卷报错Can‘t open /dev/sdb5 exclusively. Mounted filesystem的问题解决过程记录
- 如何成为数据分析师系列(二):可视化图表进阶
- 校招生向京东发起的“攻势”,做到他这样,你,也可以
- 钱数转换(转换成:XX万,XX亿)
- 支付宝无线商户签约指南
热门文章
- JAVA注解行_java注解
- php use后怎么引用函数,php后向引用怎么带入到函数参数
- mysql mgr 读写分离_MySQL Group Replication mgr 单主 proxysql 读写分离配置过程
- mysql less2,实测Aurora Serverless MySQL
- 日历的java包_java11教程--包java.time.chrono介绍
- c++小程序代码_# 微信小程序的原生框架和taro对比 ##
- Android XML解析器– XMLPullParser
- spring事务 jdbc_Spring事务管理示例JDBC
- jms.jar 2.0_JMS API 1.1生产者和使用者
- 数据库基础:什么是列?数据类型是什么?