class MyCommonsMultipartResolver extends CommonsMultipartResolver {
    @Override
    public boolean isMultipart(HttpServletRequest request) {<FILL_FUNCTION_BODY>}
}

        String uri = request.getRequestURI();
        if(uri!=null && uri.contains("/config")){
            return false;
        }else{
            return super.isMultipart(request);
        }
    
<methods>public void <init>() ,public void <init>(javax.servlet.ServletContext) ,public void cleanupMultipart(org.springframework.web.multipart.MultipartHttpServletRequest) ,public boolean isMultipart(javax.servlet.http.HttpServletRequest) ,public org.springframework.web.multipart.MultipartHttpServletRequest resolveMultipart(javax.servlet.http.HttpServletRequest) throws org.springframework.web.multipart.MultipartException,public void setResolveLazily(boolean) ,public void setServletContext(javax.servlet.ServletContext) ,public transient void setSupportedMethods(java.lang.String[]) <variables>private boolean resolveLazily,private Set<java.lang.String> supportedMethods