' && ') request condition that matches a request against
a set parameter expressions with syntax defined in RequestMapping#params().
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | ParamsRequestCondition.
Parses and matches a single param expression to a request. |
| Modifier and Type | Field and Description |
|---|---|
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | ParamsRequestCondition(String...
expressions with syntax defined in params)RequestMapping#params();
if 0, the condition will match to every request.Create a new instance from the given param expressions. |
| private |
| expressions | back to summary |
|---|---|
| private final Set<ParamsRequestCondition. | |
| ParamsRequestCondition | back to summary |
|---|---|
| public ParamsRequestCondition(String... params) Create a new instance from the given param expressions.
| |
| ParamsRequestCondition | back to summary |
|---|---|
| private ParamsRequestCondition(Set<ParamsRequestCondition. | |
| combine | back to summary |
|---|---|
| public ParamsRequestCondition combine(ParamsRequestCondition other) Implements org. Returns a new instance with the union of the param expressions from "this" and the "other" instance.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(ParamsRequestCondition other, ServerWebExchange exchange) Implements org. Compare to another condition based on parameter expressions. A condition is considered to be a more specific match, if it has:
It is assumed that both instances have been obtained via
| |
| getContent | back to summary |
|---|---|
| protected Collection Implements abstract org. Doc from org. Return the discrete items a request condition is composed of. For example URL patterns, HTTP request methods, param expressions, etc.
| |
| getExpressions | back to summary |
|---|---|
| public Set Return the contained request parameter expressions. | |
| getMatchingCondition | back to summary |
|---|---|
| public ParamsRequestCondition getMatchingCondition(ServerWebExchange exchange) Implements org. Returns "this" instance if the request matches all param expressions;
or
| |
| getToStringInfix | back to summary |
|---|---|
| protected String getToStringInfix() Implements abstract org. Doc from org. The notation to use when printing discrete items of content. For example
| |
| getValueMatchCount | back to summary |
|---|---|
| private long getValueMatchCount(Set<ParamsRequestCondition. | |
| parseExpressions | back to summary |
|---|---|
| private static Set | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| protected boolean | matchName(ServerWebExchange exchange)
Implements abstract org.
|
| protected boolean | matchValue(ServerWebExchange exchange)
Implements abstract org.
|
| protected String | parseValue(String valueExpression)
Implements abstract org.
|
| ParamExpression | back to summary |
|---|---|
| pack-priv ParamExpression(String expression) | |
| isCaseSensitiveName | back to summary |
|---|---|
| protected boolean isCaseSensitiveName() Implements abstract org.
| |
| matchName | back to summary |
|---|---|
| protected boolean matchName(ServerWebExchange exchange) Implements abstract org.
| |
| matchValue | back to summary |
|---|---|
| protected boolean matchValue(ServerWebExchange exchange) Implements abstract org.
| |
| parseValue | back to summary |
|---|---|
| protected String parseValue(String valueExpression) Implements abstract org.
| |