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:
+2
-3
@@ -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!";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user