类的使用
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.annotationpackage.org.springframework.web.bind.annotation中RequestMapping的使用
注释类型为RequestMapping的org.springframework.web.bind.annotation中的类 修饰符和类型 类 说明 interfaceDeleteMappingAnnotation for mapping HTTPDELETErequests onto specific handler methods.interfaceGetMappingAnnotation for mapping HTTPGETrequests onto specific handler methods.interfacePatchMappingAnnotation for mapping HTTPPATCHrequests onto specific handler methods.interfacePostMappingAnnotation for mapping HTTPPOSTrequests onto specific handler methods.interfacePutMappingAnnotation for mapping HTTPPUTrequests onto specific handler methods.org.springframework.web.reactive.result.method.annotation中RequestMapping的使用
参数类型为RequestMapping的org.springframework.web.reactive.result.method.annotation中的方法 修饰符和类型 方法 说明 protected RequestMappingInfoRequestMappingHandlerMapping. createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition)Create aRequestMappingInfofrom the supplied@RequestMappingannotation, 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 RequestMappingInfoRequestMappingHandlerMapping. createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition)Create aRequestMappingInfofrom the supplied@RequestMappingannotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.