Package org.apereo.cas.throttle
Interface ThrottledRequestResponseHandler
- All Known Implementing Classes:
DefaultThrottledRequestResponseHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is
ThrottledRequestResponseHandler.- Since:
- 6.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Handle.
-
Field Details
-
BEAN_NAME
Default Bean name.- See Also:
-
-
Method Details
-
handle
boolean handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Handle.- Parameters:
request- the requestresponse- the response- Returns:
- false to stop the request. true to proceed anyway.
-