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 ...
随机推荐
- 吴恩达深度学习笔记(十一)—— dropout正则化
主要内容: 一.dropout正则化的思想 二.dropout算法流程 三.dropout的优缺点 一.dropout正则化的思想 在神经网络中,dropout是一种“玄学”的正则化方法,以减少过拟合 ...
- oracle 计算时间差
1.计算时间差(相隔星期,天数,小时,分钟,秒) SELECT TO_CHAR(date1,'MMDDYYYY:HH24:MI:SS') date1, TO_CHAR(date2,'MMDDYYYY: ...
- redis集群使用Java工具类(Java jedis集群工具类)
package com.xiaomi.weather.vote.webservices.util.redisCache; import com.google.common.base.Strings; ...
- java入门了解03
ASSCII表 . 1.final关键字 (1)含义:最终的意思,修饰方法,类,变量 (2)特点: A:修饰类,不能被继承 B:修饰的方法,不能被重载 ...
- R语言笔记002——sample()函数
sample()函数 sample(x,size,replace=FALSE) x表示一个或多个向量,size表示从x中随机取的样本个数,replace=FALSE表示不放回抽样,即不会选取到相同的值 ...
- json对象与字符串互转方法
字符串转json对象: var data = eval( '(' + str + ')' ); json对象转字符串: var jsonStr = JSON.stringify( obj );
- 爬虫之MongoDB
一.简介 MongoDB是一款强大.灵活.且易于扩展的通用型数据库 1.易用性 MongoDB是一个面向文档(document-oriented)的数据库,而不是关系型数据库. 不采用关系型主要是为了 ...
- (python)循环中动态产生变量
>>> for i in xrange(5): exec 'a'+str(i)+' = '+str(i)+'' >>> a0 0 >>> a1 1 ...
- MVP实战心得—封装Retrofit2.0+RxAndroid+RxBus
响应式编程框架,rxjava的扩展,很爽的链式编程 魅力在于对数据的处理,与线程切换的灵活性. 用来处理异步操作(Lambda表达式不会用.用Lambda表达式代码会更少,但不会的人会看不懂代码.不是 ...
- DEDE整站动态化或整站静态化设置方法
简单说下的是,网站空间小而数据库还可以的话,使用动态浏览也是不错的,但是官方的程序默认的生成静态浏览的,只要一发布文章,就会自动生成静态页面,难道做发布文章还要一个一个去更改其他的设置吗?麻烦.对于采 ...
