class ExcludePathInterceptor extends BaseMethodInterceptor {

    @Autowired
    private BootProperties bootProperties;

    @Override
    protected boolean preHandleMethod(HttpServletRequest request, HttpServletResponse response, HandlerMethod handlerMethod) throws Exception {<FILL_FUNCTION_BODY>}

}

        String servletPath = request.getServletPath();
        List<String> excludePaths = bootProperties.getExcludePaths();
        if (CollectionUtils.isNotEmpty(excludePaths)) {
            for (String excludePath : excludePaths) {
                AntPathMatcher antPathMatcher = new AntPathMatcher();
                boolean match = antPathMatcher.match(excludePath, servletPath);
                if (match) {
                    request.setAttribute(CommonConstant.REQUEST_PARAM_EXCLUDE_PATH, true);
                    break;
                }
            }
        }
        return true;
    
<methods>public non-sealed void <init>() ,public boolean preHandle(HttpServletRequest, HttpServletResponse, java.lang.Object) throws java.lang.Exception<variables>