Package | Description |
---|---|
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 the
org.springframework.web.method package. |
Modifier and Type | Method and Description |
---|---|
static RequestMethod |
RequestMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestMethod[] |
RequestMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<RequestMethod> |
RequestMethodsRequestCondition.getContent() |
Set<RequestMethod> |
RequestMethodsRequestCondition.getMethods()
Returns all
RequestMethod s contained in this condition. |
Constructor and Description |
---|
RequestMethodsRequestCondition(RequestMethod... requestMethods)
Create a new instance with the given request methods.
|
Modifier and Type | Method and Description |
---|---|
RequestMappingInfo.Builder |
RequestMappingInfo.Builder.methods(RequestMethod... methods)
Set the request method conditions.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<RequestMethod> |
RequestMethodsRequestCondition.getContent() |
Set<RequestMethod> |
RequestMethodsRequestCondition.getMethods()
Returns all
RequestMethod s contained in this condition. |
Constructor and Description |
---|
RequestMethodsRequestCondition(RequestMethod... requestMethods)
Create a new instance with the given request methods.
|
Modifier and Type | Method and Description |
---|---|
RequestMappingInfo.Builder |
RequestMappingInfo.Builder.methods(RequestMethod... methods)
Set the request method conditions.
|