|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The type of objects that this RequestCondition can be combined
with compared to.public interface RequestCondition<T>
The contract for request conditions.
Request conditions can be combined via combine(Object), matched to
a request via getMatchingCondition(HttpServletRequest), and compared
to each other via compareTo(Object, HttpServletRequest) to determine
which matches a request more closely.
| Method Summary | |
|---|---|
T |
combine(T other)
Defines the rules for combining this condition (i.e. |
int |
compareTo(T other,
HttpServletRequest request)
Compares this condition to another condition in the context of a specific request. |
T |
getMatchingCondition(HttpServletRequest request)
Checks if this condition matches the given request and returns a potentially new request condition with content tailored to the current request. |
| Method Detail |
|---|
T combine(T other)
RequestMapping conditions.
other - the condition to combine with.T getMatchingCondition(HttpServletRequest request)
null if there is no match.
int compareTo(T other,
HttpServletRequest request)
getMatchingCondition(HttpServletRequest)
to ensure they have content relevant to current request only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||