I am very new to Spring Boot and have the following code
public String setRedirectURL(){
return "/redirect/" + this.statusQueryToken;
}
@RequestMapping( /* This should be the return-value of setRedirectURL */)
public URL getRedirectURL(){
}
Basically, I want the value inside of @RequestMapping to be a variable, which is the return value of setRedirectURL.
Does anyone know how to do this?