接口的使用
org.springframework.test.web.servlet.DispatcherServletCustomizer
使用DispatcherServletCustomizer的程序包 程序包 说明 org.springframework.test.web.servlet.setup Contains built-inMockMvcBuilder
implementations.org.springframework.test.web.servlet.setup中DispatcherServletCustomizer的使用
参数类型为DispatcherServletCustomizer的org.springframework.test.web.servlet.setup中的方法 修饰符和类型 方法 说明 <T extends B>
TAbstractMockMvcBuilder. addDispatcherServletCustomizer(DispatcherServletCustomizer customizer)