Interface CustomRequestCondition<T extends CustomRequestCondition<T>>
- Type Parameters:
T
- request condition
- All Superinterfaces:
org.springframework.web.servlet.mvc.condition.RequestCondition<T>
- All Known Implementing Classes:
AbstractCustomRequestCondition
public interface CustomRequestCondition<T extends CustomRequestCondition<T>>
extends org.springframework.web.servlet.mvc.condition.RequestCondition<T>
Extension of
RequestCondition
that is aware of the annotated element it is for (either handler type or method).- Since:
- 2.0.0
- Author:
- Arne Vandamme
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
getMatchingCondition
(jakarta.servlet.http.HttpServletRequest request) void
setAnnotatedElement
(AnnotatedElement annotatedElement) Set the handler type or the handler method that this condition is being created for.
-
Method Details
-
setAnnotatedElement
Set the handler type or the handler method that this condition is being created for.- Parameters:
annotatedElement
- handler type or method
-
combine
- Specified by:
combine
in interfaceorg.springframework.web.servlet.mvc.condition.RequestCondition<T extends CustomRequestCondition<T>>
-
getMatchingCondition
- Specified by:
getMatchingCondition
in interfaceorg.springframework.web.servlet.mvc.condition.RequestCondition<T extends CustomRequestCondition<T>>
-
compareTo
- Specified by:
compareTo
in interfaceorg.springframework.web.servlet.mvc.condition.RequestCondition<T extends CustomRequestCondition<T>>
-