In this example, we will understand the effect of using method setUseRegisteredSuffixPatternMatch() of RequestMappingHandlerMapping. This flag specifies whether to use suffix pattern match (".*"). The default value is true, that means a handler with /xyz will also be mapped with /xyz.abc or /xyz.abc.test etc. Note that ".*" does not mean that it will also match xyzabc (there has to be a dot after xyz).