public class RequestMapping extends Object
HttpRequestHandlingEndpointSupport
.
Provides direct mapping in terms of functionality compared to
RequestMapping
.RequestMapping
,
IntegrationRequestMappingHandlerMapping
Constructor and Description |
---|
RequestMapping() |
Modifier and Type | Method and Description |
---|---|
String[] |
getConsumes() |
String[] |
getHeaders() |
org.springframework.http.HttpMethod[] |
getMethods() |
String[] |
getParams() |
String[] |
getPathPatterns() |
String[] |
getProduces() |
org.springframework.web.bind.annotation.RequestMethod[] |
getRequestMethods() |
void |
setConsumes(String... consumes) |
void |
setHeaders(String... headers) |
void |
setMethods(org.springframework.http.HttpMethod... supportedMethods) |
void |
setParams(String... params) |
void |
setPathPatterns(String... pathPatterns) |
void |
setProduces(String... produces) |
public void setPathPatterns(String... pathPatterns)
public String[] getPathPatterns()
public void setMethods(org.springframework.http.HttpMethod... supportedMethods)
public org.springframework.http.HttpMethod[] getMethods()
public void setParams(String... params)
public String[] getParams()
public void setHeaders(String... headers)
public String[] getHeaders()
public void setConsumes(String... consumes)
public String[] getConsumes()
public void setProduces(String... produces)
public String[] getProduces()
public org.springframework.web.bind.annotation.RequestMethod[] getRequestMethods()