Skip to content

Instantly share code, notes, and snippets.

@anthonydahanne
Created June 1, 2015 16:51
Show Gist options
  • Save anthonydahanne/82915d8123eea9ff60b7 to your computer and use it in GitHub Desktop.
Save anthonydahanne/82915d8123eea9ff60b7 to your computer and use it in GitHub Desktop.
Supporting matrix variable in Spring Boot 1.2.3
package org.ehcache.agent;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;
/**
* Created by Anthony Dahanne on 2015-06-01.
*/
@Configuration
public class WebMvcConfiguration extends WebMvcConfigurationSupport {
@Override
public RequestMappingHandlerMapping requestMappingHandlerMapping() {
final RequestMappingHandlerMapping requestMappingHandlerMapping = super.requestMappingHandlerMapping();
requestMappingHandlerMapping.setRemoveSemicolonContent(false); // <<< this
return requestMappingHandlerMapping;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment