标签: java spring-boot interceptor spring-test mockmvc
使用Spring Boot Test的@WebMvcTest,可以使用以下命令禁用Controller上的就地过滤器:
@WebMvcTest
@WebMvcTest( controllers = Controller.class, useDefaultFilters = false )
是否有类似的方法来禁用拦截器?或者,如果没有,那将是一种解决方法?