Spring Framwork Web on Servlet Stack v5.3.36 SNAPSHOT@Controller public class HelloController { @GetMapping("/hello") public String handle(Model model) { model.addAttribute("message", "Hello World!"); return "index"; } } Kotlin import set @Controller class HelloController { @GetMapping("/hello") fun handle(model: Model): String { model["message"] = "Hello World!" return "index" } } In the preceding example object somewhere.. })); } // In some other thread, sending a String sseBuilder.send("Hello world"); // Or an object, which will be transformed into JSON Person person = ... sseBuilder.send(person);0 码力 | 259 页 | 3.58 MB | 1 年前3
Spring Boot 1.2.0.RELEASE Reference Documentation@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 373 页 | 345.05 KB | 1 年前3
Spring Boot 1.2.9.BUILD-SNAPSHOT Reference Documentation@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 393 页 | 360.45 KB | 1 年前3
Spring Boot 1.2.3.RELEASE Reference Documentation@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 390 页 | 358.87 KB | 1 年前3
Spring Boot 1.2.8.RELEASE Reference Documentation@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 392 页 | 360.10 KB | 1 年前3
Spring Boot 1.2.0.RELEASE Reference Documentation @RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Spring Boot Reference Guide 1.2.0.RELEASE Spring Boot 16 Then simply run it from quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! 10.3 Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier older references. Spring Boot Reference Guide 1.2.0.RELEASE Spring Boot 17 Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 218 页 | 1.14 MB | 1 年前3
Spring Boot 1.2.1.RELEASE Reference Documentation@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 377 页 | 347.50 KB | 1 年前3
Spring Boot 1.2.1.RELEASE Reference Documentation @RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! 10.3 Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier older references. Spring Boot Reference Guide 1.2.1.RELEASE Spring Boot 17 Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 220 页 | 1.15 MB | 1 年前3
Spring Boot 1.2.7.RELEASE Reference Guide@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 391 页 | 359.65 KB | 1 年前3
Spring Boot 1.2.6.RELEASE Reference Guide@RestController class ThisWillActuallyRun { @RequestMapping("/") String home() { "Hello World!" } } Then simply run it from a shell: $ spring run app.groovy Note It will take some quicker. Open localhost:8080 in your favorite web browser and you should see the following output: Hello World! Upgrading from an earlier version of Spring Boot If you are upgrading from an earlier release older references. Chapter 11. Developing your first Spring Boot application Let’s develop a simple “Hello World!” web application in Java that highlights some of Spring Boot’s key features. We’ll use Maven0 码力 | 391 页 | 359.56 KB | 1 年前3
共 248 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25













