类的使用
org.springframework.web.bind.annotation.RequestMethod
使用RequestMethod的程序包 程序包 说明 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.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.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.bind.annotation中RequestMethod的使用
返回RequestMethod的org.springframework.web.bind.annotation中的方法 修饰符和类型 方法 说明 RequestMethod[]
method()
The HTTP request methods to map to, narrowing the primary mapping: GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE.RequestMethod[]
methods()
The list of supported HTTP request methods.static RequestMethod
RequestMethod. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static RequestMethod[]
RequestMethod. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。org.springframework.web.reactive.result.condition中RequestMethod的使用
返回变量类型为RequestMethod的类型的org.springframework.web.reactive.result.condition中的方法 修饰符和类型 方法 说明 protected Collection<RequestMethod>
RequestMethodsRequestCondition. getContent()
Set<RequestMethod>
RequestMethodsRequestCondition. getMethods()
Returns allRequestMethods
contained in this condition.参数类型为RequestMethod的org.springframework.web.reactive.result.condition中的构造器 构造器 说明 RequestMethodsRequestCondition(RequestMethod... requestMethods)
Create a new instance with the given request methods.org.springframework.web.reactive.result.method中RequestMethod的使用
参数类型为RequestMethod的org.springframework.web.reactive.result.method中的方法 修饰符和类型 方法 说明 RequestMappingInfo.Builder
RequestMappingInfo.Builder. methods(RequestMethod... methods)
Set the request method conditions.org.springframework.web.servlet.mvc.condition中RequestMethod的使用
返回变量类型为RequestMethod的类型的org.springframework.web.servlet.mvc.condition中的方法 修饰符和类型 方法 说明 protected Collection<RequestMethod>
RequestMethodsRequestCondition. getContent()
Set<RequestMethod>
RequestMethodsRequestCondition. getMethods()
Returns allRequestMethods
contained in this condition.参数类型为RequestMethod的org.springframework.web.servlet.mvc.condition中的构造器 构造器 说明 RequestMethodsRequestCondition(RequestMethod... requestMethods)
Create a new instance with the given request methods.org.springframework.web.servlet.mvc.method中RequestMethod的使用
参数类型为RequestMethod的org.springframework.web.servlet.mvc.method中的方法 修饰符和类型 方法 说明 RequestMappingInfo.Builder
RequestMappingInfo.Builder. methods(RequestMethod... methods)
Set the request method conditions.