@Override
    public boolean preHandle(
        @Nonnull final HttpServletRequest request, @Nonnull final HttpServletResponse response,
        @Nonnull final Object handler) {
        return getHandlerInterceptors()
            .stream()
            .allMatch(Unchecked.predicate(i -> i.preHandle(request, response, handler)));
    }
This is {@link RefreshableHandlerInterceptor}.

@author Misagh Moayyed
@since 6.5.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/RefreshableHandlerInterceptor.java