程序包的使用
org.springframework.web.bind.annotation
使用org.springframework.web.bind.annotation的程序包 程序包 说明 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.method Common infrastructure for handler method processing, as used by Spring MVC'sorg.springframework.web.servlet.mvc.method
package.org.springframework.web.reactive.result.condition RequestCondition
and implementations for matching requests based on different criteria.org.springframework.web.reactive.result.method Infrastructure for handler method processing.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.servlet.mvc.annotation Support package for annotation-based Servlet MVC controllers.org.springframework.web.servlet.mvc.condition Common MVC logic for matching incoming requests based on conditions.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
package.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使用的org.springframework.web.bind.annotation中的类 类 说明 ControllerAdvice Specialization of@Component
for classes that declare@ExceptionHandler
,@InitBinder
, or@ModelAttribute
methods to be shared across multiple@Controller
classes.Mapping Meta annotation that indicates a web mapping annotation.RequestMapping Annotation for mapping web requests onto methods in request-handling classes with flexible method signatures.RequestMethod Java 5 enumeration of HTTP request methods.ResponseBody Annotation that indicates a method return value should be bound to the web response body.org.springframework.web.method使用的org.springframework.web.bind.annotation中的类 类 说明 ControllerAdvice Specialization of@Component
for classes that declare@ExceptionHandler
,@InitBinder
, or@ModelAttribute
methods to be shared across multiple@Controller
classes.org.springframework.web.reactive.result.condition使用的org.springframework.web.bind.annotation中的类 类 说明 RequestMethod Java 5 enumeration of HTTP request methods.org.springframework.web.reactive.result.method使用的org.springframework.web.bind.annotation中的类 类 说明 RequestMethod Java 5 enumeration of HTTP request methods.org.springframework.web.reactive.result.method.annotation使用的org.springframework.web.bind.annotation中的类 类 说明 RequestMapping Annotation for mapping web requests onto methods in request-handling classes with flexible method signatures.org.springframework.web.servlet.mvc.annotation使用的org.springframework.web.bind.annotation中的类 类 说明 ResponseStatus Marks a method or exception class with the statusResponseStatus.code()
andResponseStatus.reason()
that should be returned.org.springframework.web.servlet.mvc.condition使用的org.springframework.web.bind.annotation中的类 类 说明 RequestMethod Java 5 enumeration of HTTP request methods.org.springframework.web.servlet.mvc.method使用的org.springframework.web.bind.annotation中的类 类 说明 RequestMethod Java 5 enumeration of HTTP request methods.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.web.bind.annotation中的类 类 说明 ExceptionHandler Annotation for handling exceptions in specific handler classes and/or handler methods.RequestMapping Annotation for mapping web requests onto methods in request-handling classes with flexible method signatures.