类的使用
org.springframework.web.bind.annotation.RequestMapping
使用RequestMapping的程序包 程序包 说明 org.springframework.web.bind.annotation Annotations for binding requests to controllers and handler methods as well as for binding request parameters to method arguments.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.bind.annotation中RequestMapping的使用
注释类型为RequestMapping的org.springframework.web.bind.annotation中的类 修饰符和类型 类 说明 interface
DeleteMapping
Annotation for mapping HTTPDELETE
requests onto specific handler methods.interface
GetMapping
Annotation for mapping HTTPGET
requests onto specific handler methods.interface
PatchMapping
Annotation for mapping HTTPPATCH
requests onto specific handler methods.interface
PostMapping
Annotation for mapping HTTPPOST
requests onto specific handler methods.interface
PutMapping
Annotation for mapping HTTPPUT
requests onto specific handler methods.org.springframework.web.reactive.result.method.annotation中RequestMapping的使用
参数类型为RequestMapping的org.springframework.web.reactive.result.method.annotation中的方法 修饰符和类型 方法 说明 protected RequestMappingInfo
RequestMappingHandlerMapping. createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition)
Create aRequestMappingInfo
from the supplied@RequestMapping
annotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.org.springframework.web.servlet.mvc.method.annotation中RequestMapping的使用
参数类型为RequestMapping的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected RequestMappingInfo
RequestMappingHandlerMapping. createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition)
Create aRequestMappingInfo
from the supplied@RequestMapping
annotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.