Files
spring-boot-rest/spring-security-modules/spring-security-web-boot-2/src/main/java/com/baeldung/tls/HomeController.java
2021-03-21 12:29:38 +03:30

17 lines
424 B
Java

package com.baeldung.tls;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
public class HomeController {
@GetMapping("/baeldung")
public ResponseEntity<String> welcome() {
return new ResponseEntity<>("tls/baeldung", HttpStatus.OK);
}
}