接口 RequestMappingInfo.Builder
- 封闭类:
- RequestMappingInfo
public static interface RequestMappingInfo.Builder
Defines a builder for creating a RequestMappingInfo.
-
方法概要
修饰符和类型方法说明build()Build the RequestMappingInfo.combine(boolean combine) combine class levelSet the consumes conditions.customCondition(RequestCondition<?> condition) Set a custom condition to use.Set the header conditions.mappingName(String name) Set the mapping name.methods(HttpMethod... 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.
-
方法详细资料
-
paths
Set the URL path patterns. -
methods
Set the request method conditions. -
params
Set the request param conditions. -
headers
Set the header conditions.By default this is not set.
-
consumes
Set the consumes conditions. -
produces
Set the produces conditions. -
mappingName
Set the mapping name. -
customCondition
Set a custom condition to use. -
options
Provide additional configuration needed for request mapping purposes. -
combine
combine class level -
build
RequestMappingInfo build()Build the RequestMappingInfo.
-