package org.docksidestage.springboot.app.application;

import org.dbflute.svflute.web.controller.interceptor.GodHandableControllerInterceptor;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @author jflute
 */
@Component
public class WebAppConfig extends WebMvcConfigurerAdapter {

    {
        System.out.println("@@@@@@");
    }

    public void addInterceptors(InterceptorRegistry registry) {
        System.out.println("*******: " + registry);
        registry.addInterceptor(new GodHandableControllerInterceptor()).addPathPatterns("/**");
    }
}

@@ -448,59 +448,8 @@
  %7B%0A%0A
-    %7B%0A        System.out.println(%22@@@@@@%22);%0A    %7D%0A%0A
     
@@ -512,60 +512,8 @@
 ) %7B%0A
-        System.out.println(%22*******: %22 + registry);%0A
     

remove logging