Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
public class WelcomeController
private String serviceName;
public String getServiceName() {
return "service name [" + this.serviceName + "]";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment