Spring Cloud Zookeeper Updated (#1665)

* Spring Cloud Zookeeper

* Spring Cloud Zookeeper Updated

* Spring Cloud Zookeeper Updated

* Spring Cloud Zookeeper Updated
This commit is contained in:
Tehreem
2017-04-17 23:59:38 +05:00
committed by adamd1985
parent 576298dc7b
commit a1e7463a42
2 changed files with 4 additions and 7 deletions
@@ -5,14 +5,13 @@
*/
package com.baeldung.spring.cloud.helloworld;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloWorldController {
@RequestMapping(path = "/helloworld", method = RequestMethod.GET)
@GetMapping("/helloworld")
public String HelloWorld() {
return "Hello World!";
}