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. Exception in thread "main" java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for topic_test_1219-2: 30010 ms has passed since batch creatio

    代码如下 public static void producer1() throws ExecutionException, InterruptedException { Properties pro ...

  2. django学习笔记整理(2)django的路由系统

    创建一个属于你的django框架.django-admin startproject 框架名 打开你的django框架,你会发现里面还有一个和框架名同名的文件夹,那个文件夹就称为一个app. 创建了d ...

  3. UOJ66 新年的巧克力棒

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

  4. javascript是一种面向对象语言吗?如果是,您在javascript中是如何实现继承的呢

    ·oop(面向对象程序设计)中最常用到的概念有 1.对象,属性,方法 1>(对象:具体事物或抽象事物,名词) 2>(属性:对象的特征,特点,形容词) 3>(方法:对象的动作,动词) ...

  5. network namespace连接的4种方法及性能

    veth pair # add the namespaces ip netns add ns1 ip netns add ns2 # create the veth pair ip link add ...

  6. CSS基础(float属性与清除浮动)

    3.8 这是CSS里比较重要的属性:浮动,这个属性会在以后经常用到,算是一个重点吧 浮动 语法:float:left  |  right  |  none 特点: 浮动的元素不占位置,脱离了标准文档流 ...

  7. WebAPI序列化后的时间中含有“T”的解决方法

    问题: { "name": "abc", "time": "2015-02-10T15:18:21.7046433+08:00&q ...

  8. mysql分组取topn

    本文来自  http://www.jb51.net/article/31590.htm 有些语句sql top n 是sqlserver语法 --按某一字段分组取最大(小)值所在行的数据 代码如下: ...

  9. Thinkphp5.0 获取新增数据的ID

    // 方法1 insertGetId方法新增数据并返回主键值使用getLastInsID方法: Db::name('user')->insert($data); $userId = Db::na ...

  10. Nodejs-RESTFul架构

    请求方法 一般会严格要求请求方法及其释义,下面给出常用的请求方法 如果请求头中存在 X-HTTP-Method-Override 或参数中存在 _method(拥有更高权重),且值为 GET, POS ...