Interface RequestMappingInfo.Builder
- Enclosing class:
- RequestMappingInfo
public static interface RequestMappingInfo.Builder
Defines a builder for creating a RequestMappingInfo.
- 
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 path patterns.Set the produces conditions.
- 
Method Details- 
pathsSet the 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.
- 
mappingNameSet the mapping name.
- 
customConditionSet a custom condition to use.
- 
optionsProvide additional configuration needed for request mapping purposes.
- 
buildRequestMappingInfo build()Build the RequestMappingInfo.
 
-