Created
June 1, 2015 16:51
-
-
Save anthonydahanne/82915d8123eea9ff60b7 to your computer and use it in GitHub Desktop.
Supporting matrix variable in Spring Boot 1.2.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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