public static final class HttpInboundEndpointSupportSpec.RequestMappingSpec extends Object
RequestMapping
.Modifier and Type | Method and Description |
---|---|
HttpInboundEndpointSupportSpec.RequestMappingSpec |
consumes(String... consumes)
The consumable media types of the mapped request, narrowing the primary mapping.
|
HttpInboundEndpointSupportSpec.RequestMappingSpec |
headers(String... headers)
The headers of the mapped request, narrowing the primary mapping.
|
HttpInboundEndpointSupportSpec.RequestMappingSpec |
methods(HttpMethod... supportedMethods)
The HTTP request methods to map to, narrowing the primary mapping:
GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE.
|
HttpInboundEndpointSupportSpec.RequestMappingSpec |
params(String... params)
The parameters of the mapped request, narrowing the primary mapping.
|
HttpInboundEndpointSupportSpec.RequestMappingSpec |
produces(String... produces)
The producible media types of the mapped request, narrowing the primary mapping.
|
public HttpInboundEndpointSupportSpec.RequestMappingSpec methods(HttpMethod... supportedMethods)
supportedMethods
- the HttpMethod
s to use.public HttpInboundEndpointSupportSpec.RequestMappingSpec params(String... params)
params
- the request params to map to.public HttpInboundEndpointSupportSpec.RequestMappingSpec headers(String... headers)
headers
- the request headers to map to.public HttpInboundEndpointSupportSpec.RequestMappingSpec consumes(String... consumes)
consumes
- the the media types for Content-Type
header.public HttpInboundEndpointSupportSpec.RequestMappingSpec produces(String... produces)
produces
- the the media types for Accept
header.