Complete the code so that it produces a text HTML value.
Java
@Controller
public class CustomerController {
@GetMapping(value = "/customer", produces = __________)
@ResponseBody
public String greetCustomer() {
return "<html><p>Welcome to our site customer!</p></html>";
}
}
Kotlin
@Controller
class CustomerController {
@GetMapping(value = ["/customer"], produces = [__________])
@ResponseBody
fun greetCustomer(): String {
return "<html><p>Welcome to our site customer!</p></html>"
}
}