protected boolean onPreHandle(ServletRequest request, ServletResponse response, Object mappedValue) throws Exception {
        return true;
    }
This default implementation always returns {@code true} and should be overridden by subclasses for custom
logic if necessary.

@param request     the incoming ServletRequest
@param response    the outgoing ServletResponse
@param mappedValue the filter-specific config value mapped to this filter in the URL rules mappings.
@return {@code true} if the request should be able to continue, {@code false} if the filter will
handle the response directly.
@throws Exception if an error occurs
@see #isEnabled(javax.servlet.ServletRequest, javax.servlet.ServletResponse, String, Object)
web/src/main/java/org/apache/shiro/web/filter/PathMatchingFilter.java