Spring Boot how to pass configured/dynamic url in @requestMapping?
<p>How to pass String value in Spring-Boot <code>@RequestMapping("/test")</code>.</p>

<p>I want to pass <code>String str ="/test"</code> as String value in <code>RequestMapping(str)</code>, please suggest how to read String value in Request Mapping.</p>