Interface RequestMappingInfo.Builder
- Enclosing class:
- RequestMappingInfo
public static interface RequestMappingInfo.Builder
Defines a builder for creating a RequestMappingInfo.
- Since:
- 4.2
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build the RequestMappingInfo.Set the consumes conditions.customCondition(RequestCondition<?> condition) Set a custom condition to use.Set the header conditions.mappingName(String name) Set the mapping name.methods(RequestMethod... methods) Set the request method conditions.Provide additional configuration needed for request mapping purposes.Set the request param conditions.Set the URL path patterns.Set the produces conditions.Set the API version condition.
- 
Method Details- 
pathsSet the URL path patterns.
- 
methodsSet the request method conditions.
- 
paramsSet the request param conditions.
- 
headersSet the header conditions.By default this is not set. 
- 
consumesSet the consumes conditions.
- 
producesSet the produces conditions.
- 
versionSet the API version condition.- Since:
- 7.0
 
- 
mappingNameSet the mapping name.
- 
customConditionSet a custom condition to use.
- 
optionsProvide additional configuration needed for request mapping purposes.
- 
buildRequestMappingInfo build()Build the RequestMappingInfo.
 
-