Suppose we have a simple spring listener:
@RestController
public class App {
/*Listener*/
@RequestMapping(value = "/{String Value}", method = //some method )
public String retVal( //PathVariables ) {
//code
}
In this case String Value is a predefined string.
Is there any way to create a listener that has a variable value attach to the URL?