In SpringBoot Application In order to enable Matrix variables you need to define below override code
@Configuration
public class WebConfig extends WebMvcConfigurerAdapter {
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
UrlPathHelper urlPathHelper = new UrlPathHelper();
urlPathHelper.setRemoveSemicolonContent(false);
configurer.setUrlPathHelper(urlPathHelper);
}
}
Otherwise, they’re disabled by default
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…