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 TypeMethodDescriptionintgetMatchingCondition(jakarta.servlet.http.HttpServletRequest request) voidsetAnnotatedElement(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:
combinein interfaceorg.springframework.web.servlet.mvc.condition.RequestCondition<T extends CustomRequestCondition<T>>
-
getMatchingCondition
- Specified by:
getMatchingConditionin interfaceorg.springframework.web.servlet.mvc.condition.RequestCondition<T extends CustomRequestCondition<T>>
-
compareTo
- Specified by:
compareToin interfaceorg.springframework.web.servlet.mvc.condition.RequestCondition<T extends CustomRequestCondition<T>>
-