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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]String[]getName()String[]String @Nullable []String[]voidsetConsumes(String... consumes) voidsetHeaders(String... headers) voidsetMethodNames(String... supportedMethods) Configure a set of supported HTTP methods from their string representations.voidsetMethods(HttpMethod... supportedMethods) voidvoidvoidsetPathPatterns(String... pathPatterns) voidsetProduces(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
-