May 2018
Intermediate to advanced
390 pages
9h 31m
English
Let's start by creating a simple REST controller as follows:
package com.dineshonjava.masteringspringboot.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloController {
@GetMapping("/hello")
String sayHello(){
return "Hello World!!!";
}
}
Let's see this small REST controller (HelloController) in detail:
Read now
Unlock full access