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