Created
March 23, 2017 20:58
-
-
Save jbruinink/232d20afbe5afeb7a2995dfc88e38192 to your computer and use it in GitHub Desktop.
Hello World Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jdriven.ng2boot; | |
import org.springframework.web.bind.annotation.RequestMapping; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class HelloController { | |
@RequestMapping(value ="/test") | |
public String helloWorld() { | |
return "Hello World!"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment