WebServices/RestWS/src/main/java/com/javacodegeeks/example/HelloWorldController.java
<gh_stars>0package com.javacodegeeks.example;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWorldController {

	@GetMapping("/hello")
	public String sayHello() {
		return "Hello Java Code Geeks!";
	}
}
