Class RequestMapping
java.lang.Object
org.springframework.integration.http.inbound.RequestMapping
Class for mapping web requests onto specific
HttpRequestHandlingEndpointSupport
.
Provides direct mapping in terms of functionality compared to
RequestMapping
.- Since:
- 3.0
- Author:
- Artem Bilan
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
String[]
getName()
String[]
String[]
String[]
void
setConsumes
(String... consumes) void
setHeaders
(String... headers) void
setMethodNames
(String... supportedMethods) Configure a set of supported HTTP methods from their string representations.void
setMethods
(HttpMethod... supportedMethods) void
void
void
setPathPatterns
(String... pathPatterns) void
setProduces
(String... produces)
-
Constructor Details
-
RequestMapping
public RequestMapping()
-
-
Method Details
-
getName
-
setName
-
setPathPatterns
-
getPathPatterns
-
setMethodNames
Configure a set of supported HTTP methods from their string representations.- Parameters:
supportedMethods
- the array of HTTP method names.- Since:
- 6.0
-
setMethods
-
getMethods
-
setParams
-
getParams
-
setHeaders
-
getHeaders
-
setConsumes
-
getConsumes
-
setProduces
-
getProduces
-
getRequestMethods
-