PathPatternsRequestCondition with parsed PathPatterns or
PatternsRequestCondition with String patterns via PathMatcher
RequestMethodsRequestCondition
ParamsRequestCondition
HeadersRequestCondition
ConsumesRequestCondition
ProducesRequestCondition
RequestCondition (optional, custom request condition)
| Modifier and Type | Class and Description |
|---|---|
| public static interface | RequestMappingInfo.
Defines a builder for creating a RequestMappingInfo. |
| public static class | RequestMappingInfo.
Container for configuration options used for request mapping purposes. |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ConsumesRequestCondition | |
| private final RequestConditionHolder | |
| private static final ConsumesRequestCondition | |
| private static final RequestConditionHolder | |
| private static final HeadersRequestCondition | |
| private static final ParamsRequestCondition | |
| private static final PathPatternsRequestCondition | |
| private static final PatternsRequestCondition | |
| private static final ProducesRequestCondition | |
| private static final RequestMethodsRequestCondition | |
| private final int | |
| private final HeadersRequestCondition | |
| private final RequestMethodsRequestCondition | |
| private final String | |
| private final RequestMappingInfo. | |
| private final ParamsRequestCondition | |
| private final PathPatternsRequestCondition | |
| private final PatternsRequestCondition | |
| private final ProducesRequestCondition |
| Modifier and Type | Method and Description |
|---|---|
| public RequestMappingInfo | addCustomCondition(RequestCondition<?>
the custom condition to add customCondition)Create a new instance based on the current one, also adding the given custom condition. |
| private static int | calculateHashCode(PathPatternsRequestCondition pathPatterns, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestConditionHolder custom)
|
| public RequestMappingInfo | Returns: a new request mapping info instance; nevernullthe condition to combine with. other)Implements org. Combine "this" request mapping info (i.e. the current instance) with another request mapping info instance. |
| private String | |
| public int | compareTo(RequestMappingInfo other, HttpServletRequest request)
Implements org. Compares "this" info (i.e. the current instance) with another info in the context of a request. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public <T> RequestCondition | getActivePatternsCondition()
Returns either |
| public ConsumesRequestCondition | getConsumesCondition()
Return the "consumes" condition of this |
| public RequestCondition | |
| public Set | |
| public HeadersRequestCondition | getHeadersCondition()
Return the "headers" condition of this |
| public RequestMappingInfo | Returns: a new instance in case of a match; ornull otherwiseImplements org. Checks if all conditions in this request mapping info match the provided request and returns a potentially new request mapping info with conditions tailored to the current request. |
| public RequestMethodsRequestCondition | getMethodsCondition()
Return the HTTP request methods of this |
| public String | |
| public ParamsRequestCondition | getParamsCondition()
Return the "parameters" condition of this |
| public PathPatternsRequestCondition | |
| public PatternsRequestCondition | getPatternsCondition()
Return the patterns condition when String pattern matching via
|
| public Set | |
| public ProducesRequestCondition | getProducesCondition()
Return the "produces" condition of this |
| public int | |
| public boolean | |
| public RequestMappingInfo. | Returns: a builder to create a new, modified instanceReturn a builder to create a new RequestMappingInfo by modifying this one. |
| public static RequestMappingInfo. | |
| public String |