Class HttpInboundEndpointSupportSpec.RequestMappingSpec
java.lang.Object
org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec.RequestMappingSpec
- Enclosing class:
- HttpInboundEndpointSupportSpec<S extends HttpInboundEndpointSupportSpec<S,
E>, E extends BaseHttpInboundEndpoint>
A fluent API for the
RequestMapping
.-
Method Summary
Modifier and TypeMethodDescriptionThe consumable media types of the mapped request, narrowing the primary mapping.The headers of the mapped request, narrowing the primary mapping.methods
(HttpMethod... supportedMethods) The HTTP request methods to map to, narrowing the primary mapping: GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE.The parameters of the mapped request, narrowing the primary mapping.The producible media types of the mapped request, narrowing the primary mapping.
-
Method Details
-
methods
The HTTP request methods to map to, narrowing the primary mapping: GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE.- Parameters:
supportedMethods
- theHttpMethod
s to use.- Returns:
- the spec
-
params
The parameters of the mapped request, narrowing the primary mapping.- Parameters:
params
- the request params to map to.- Returns:
- the spec
-
headers
The headers of the mapped request, narrowing the primary mapping.- Parameters:
headers
- the request headers to map to.- Returns:
- the spec
-
consumes
The consumable media types of the mapped request, narrowing the primary mapping.- Parameters:
consumes
- the the media types forContent-Type
header.- Returns:
- the spec
-
produces
The producible media types of the mapped request, narrowing the primary mapping.- Parameters:
produces
- the media types forAccept
header.- Returns:
- the spec
-