public static interface RequestMappingInfo.Builder
Modifier and Type | Method and Description |
---|---|
RequestMappingInfo |
build()
Build the RequestMappingInfo.
|
RequestMappingInfo.Builder |
consumes(java.lang.String... consumes)
Set the consumes conditions.
|
RequestMappingInfo.Builder |
customCondition(RequestCondition<?> condition)
Set a custom condition to use.
|
RequestMappingInfo.Builder |
headers(java.lang.String... headers)
Set the header conditions.
|
RequestMappingInfo.Builder |
mappingName(java.lang.String name)
Set the mapping name.
|
RequestMappingInfo.Builder |
methods(RequestMethod... methods)
Set the request method conditions.
|
RequestMappingInfo.Builder |
options(RequestMappingInfo.BuilderConfiguration options)
Provide additional configuration needed for request mapping purposes.
|
RequestMappingInfo.Builder |
params(java.lang.String... params)
Set the request param conditions.
|
RequestMappingInfo.Builder |
paths(java.lang.String... paths)
Set the path patterns.
|
RequestMappingInfo.Builder |
produces(java.lang.String... produces)
Set the produces conditions.
|
RequestMappingInfo.Builder paths(java.lang.String... paths)
RequestMappingInfo.Builder methods(RequestMethod... methods)
RequestMappingInfo.Builder params(java.lang.String... params)
RequestMappingInfo.Builder headers(java.lang.String... headers)
By default this is not set.
RequestMappingInfo.Builder consumes(java.lang.String... consumes)
RequestMappingInfo.Builder produces(java.lang.String... produces)
RequestMappingInfo.Builder mappingName(java.lang.String name)
RequestMappingInfo.Builder customCondition(RequestCondition<?> condition)
RequestMappingInfo.Builder options(RequestMappingInfo.BuilderConfiguration options)
RequestMappingInfo build()