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 ...
随机推荐
- JS获取函数的成员变量
1. js函数 var table = function(){ var totalCount = 10; //给函数添加一个方法,返回成员变量的值,供调用 this.getTotalCount = f ...
- 【BZOJ1854】游戏[SCOI2009](神奇贪心+并查集)
这道题和今年GDKOI的Day2T2很像(然而gdkoi的题用网络流可以A,这道题只能拿30). 网址:http://www.lydsy.com/JudgeOnline/problem.php?id= ...
- IDEA配置文件的保存目录
IntelliJ IDEA 的实时代码模板保存在 /templates 目录下,其他系统目录位置如下:(因为目录名在各个系统上是一致的,建议用硬盘搜索工具搜索即可) Windows: . Linux: ...
- JavaWeb -- Jsp中的 EL表达式
lEL 全名为Expression Language.EL主要作用: l获取数据: •EL表达式主要用于替换JSP页面中的脚本表达式,以从各种类型的web域 中检索java对象.获取数据.(某个web ...
- JavaScript -- 练习 window 流氓广告
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- How to use QToolBar and QToolButton in Qt
http://developer.nokia.com/Community/Wiki/How_to_use_QToolBar_and_QToolButton_in_Qt How to use QTool ...
- Vue v-if条件渲染
1.简单的v-if指令,代码如下 <!DOCTYPE html> <html> <head lang="en"> <meta charse ...
- python快速学习-常用內建模块
- java中i=i++问题分析
http://www.ticmy.com/?p=43 重点:局部变量表 和 操作数栈的执行过程. 使用javac编译后再使用javap -c Test反编译这个类查看它的字节码,如下(只摘取main方 ...
- 机器学习(三)—线性回归、逻辑回归、Softmax回归 的区别
1.什么是回归? 是一种监督学习方式,用于预测输入变量和输出变量之间的关系,等价于函数拟合,选择一条函数曲线使其更好的拟合已知数据且更好的预测未知数据. 2.线性回归 于一个一般的线性模型而言,其 ...
