I have this class
@RestController
public class TestController {
@RequestMapping(value = "/info/{login}", method = RequestMethod.GET)
public @ResponseBody String getLogin() {
String login = ?
return login;
}
}
Can I parse somehow value of {login}?
For example:
http://localhost:8080/info/1234
my method return "1234";
http://localhost:8080/info/298
my method return "298".