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. Java Comparator方法 和 Comparable接口

    默认的排序方法: 让类继承Comparable接口,重写compareTo方法. 示例代码: package com.imooc.collection; import java.util.HashSe ...

  2. Idea根据表自动生成实体

    Idea根据表自动生成实体: 首先说下这种方式有个缺点,就是如果表里面有日期.时间类型,那么需要手动的设置映射类型 第一步:在Idea中配置好数据库: 在Idea窗口右边,点击Database按钮 配 ...

  3. 山东省第六届ACM省赛 H---Square Number 【思考】

    题目描述 In mathematics, a square number is an integer that is the square of an integer. In other words, ...

  4. poj2528线段树解题报告,离散化+线段树

    题目网址:http://poj.org/problem?id=2528 题意: n(n<=10000)个人依次贴海报,给出每张海报所贴的范围li,ri(1<=li<=ri<=1 ...

  5. Spring的AOP面向切面编程

    什么是AOP? 1.AOP概念介绍 所谓AOP,即Aspect orientied program,就是面向方面(切面)的编程. 功能: 让关注点代码与业务代码分离! 关注点: 重复代码就叫做关注点: ...

  6. 【P1947】笨笨当粉刷匠(DP+前缀和)

    这个题乍一看觉得挺简单的,事实上却完全不是.首先,这个题看上去无脑直接刷就可以然而因为刷的次数远远大于木板的个数所以不行,然后开始考虑DP,自己一开始是这么想的,如果用f[t][i][j]表示刷t次时 ...

  7. Apache Phoenix基本操作-1

    本篇我们将介绍phoenix的一些基本操作. 1. 如何使用Phoenix输出Hello World? 1.1 使用sqlline终端命令 sqlline.py SZB-L0023780:2181:/ ...

  8. 使用java代码打开特定网页

    第一种方法的代码如下所示: import java.io.File; public class Test04 { public static void main(String[] args) { // ...

  9. linux--svn checkout

    svn --username=yourname co svn_path local_path

  10. jQuery实现表格冻结行和列

    前几天,遇到一个需求是要将表格的前几行和前几列冻结即固定,就是在有滚动条的情况下,保持那几行和那几列固定,这个需求其实是一个非常常见的需求,因为在涉及好多行和列时,在拖动滚动条时,我们需要知道每行每列 ...