ylbtech-Java-API-Package:org.springframework.web.bind.annotation
1.返回顶部
1、

@NonNullApi @NonNullFields

Package org.springframework.web.bind.annotation

Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.

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 HTTP DELETE requests onto specific handler methods.
    ExceptionHandler
    Annotation for handling exceptions in specific handler classes and/or handler methods.
    GetMapping
    Annotation for mapping HTTP GET requests onto specific handler methods.
    InitBinder
    Annotation that identifies methods which initialize the WebDataBinder 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 HTTP PATCH 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 HTTP POST requests onto specific handler methods.
    PutMapping
    Annotation for mapping HTTP PUT 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 status ResponseStatus.code() and ResponseStatus.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

Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.
2、
2. 返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
0、
1、
 
6.返回顶部
 
作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

Java-API-Package:org.springframework.web.bind.annotation的更多相关文章

  1. Java-Class-@I:org.springframework.web.bind.annotation.PostMapping

    ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.PostMapping 1.返回顶部   2.返回顶部 1. package ...

  2. Java-Class-@I:org.springframework.web.bind.annotation.RestController

    ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.RestController 1.返回顶部   2.返回顶部 1. pack ...

  3. Java-Class-@I:org.springframework.web.bind.annotation.RequestMapping

    ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.RequestMapping 1.返回顶部   2.返回顶部 1. pack ...

  4. Java-Class-@I:org.springframework.web.bind.annotation.RequestBody

    ylbtech-Java-Class-@I:org.springframework.web.bind.annotation.RequestBody 1.返回顶部   2.返回顶部 1. package ...

  5. org.springframework.web.bind.annotation不存在 site:blog.csdn.net(IDEA中运行springboot时报错)

    原因:MAVEN版本与IDEA版本不兼容问题, maven虽然更新比较慢,但是最新的3.6.6在与IDEA2019版本及以下版本兼容时会出现以上问题 解决办法:重新配置一个3.6低级别版本的maven ...

  6. org.springframework.web.bind.annotation重定向的问题

    @RequestMapping(value="/redir/authcode") public ModelAndView getAuthCode(){ String authUrl ...

  7. spring org.springframework.web.bind.annotation 常用注解

    开发中常用的注解记录,查缺补漏 Request注解 @RequestBody @RequestHeader @RequestMapping @RequestParam @RequestPart @Co ...

  8. Elasticsearch 5.4.3实战--Java API调用:索引mapping创建

    因为项目开发使用的是Java语言, 项目的开发架构是Spring MVC+ maven的jar包管理,  所以今天重点说说ES 5.4.3 的Java API的源码实战 1. pom.xml文件增加依 ...

  9. Spring MVC报异常:org.springframework.web.util.NestedServletException: Request processing failed

    在使用SpringMVC绑定基本类型(如String,Integer等)参数时,应通过@RequestParam注解指定具体的参数名称,否则,当源代码在非debug模式下编译后,运行时会引发Handl ...

随机推荐

  1. 计数排序(COUNTING-SORTING)

    计数排序的思想: 计数排序是对每一个输入元素x;确定小于x的元素个数. 计数排序算法: 第一个for循环为统计arra 中的每一个数值的个数,并且放在相应arrc 数组中的arra[i]位,第二个fo ...

  2. win10系统下载地址

    Win10正式版微软官方原版ISO系统镜像下载: Win10正式版32位简体中文版(含家庭版.专业版) 文件名: cn_windows_10_multiple_editions_x86_dvd_684 ...

  3. java instrumentation &JVMTI

    Java Instrumentation (参考:http://www.ibm.com/developerworks/cn/java/j-lo-jse61/) 简介: 使用Instrumentatio ...

  4. 報錯:One or more validation errors were detected during model generation:System.Data.Edm.EdmEntityType: : EntityType 'Movie' has no key

    報錯:One or more validation errors were detected during model generation:System.Data.Edm.EdmEntityType ...

  5. java中,return和return null有什么区别吗?

    java中,return和return null有什么区别吗? 最大的区别:return;方法的返回值必须是void!return null;方法的返回值必须不是 原始数据类型(封装类除过)和void ...

  6. BZOJ3669 [Noi2014]魔法森林(SPFA+动态加边)

    本文版权归ljh2000和博客园共有,欢迎转载,但须保留此声明,并给出原文链接,谢谢合作. 本文作者:ljh2000 作者博客:http://www.cnblogs.com/ljh2000-jump/ ...

  7. MySQL随机取数据

    // 随机取9个 $rand_sql = "SELECT * FROM `tf_product` WHERE (`id` >= ((SELECT MAX(`id`) FROM `tf_ ...

  8. 使用junit单元测试

    使用junit单元测试 一.方法 二.说明 使用这个测试函数或者调试错误非常方便 三.代码实例 后面补

  9. The 2016 ACM-ICPC Asia Dalian Regional Contest

    一共a了6题 A:找二分图,判断有没有冲突或者孤立的店 题解:直接dfs即可 #include<map> #include<set> #include<cmath> ...

  10. 使用饿了么ui表单验证报错: [Element Warn][Form]model is required for validat

    [Element Warn][Form]model is required for validat 如文末的完整例子: 该提示说的是 form表单需要一个绑定一个 对象(使用:model=" ...