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