Added springbootnonwebapp project code

This commit is contained in:
hemant
2018-05-30 20:56:16 +05:30
parent a0c907ba7c
commit f1d4024a59
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package com.baeldung.springbootnonwebapp;
import java.time.LocalDate;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Controller exposing rest web services
* @author hemant
*
*/
@RestController
public class HelloController {
@RequestMapping("/")
public LocalDate getMinLocalDate() {
return LocalDate.MIN;
}
}