@Controller
@RequestMapping(value="/admin")
public class AdminController
extends java.lang.Object
| Constructor and Description |
|---|
AdminController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.lang.String> |
clearCache() |
org.springframework.http.ResponseEntity<java.lang.String> |
update(CsvType type,
int year) |
@ResponseBody @GetMapping(value="/cache/clear") public org.springframework.http.ResponseEntity<java.lang.String> clearCache()
@ResponseBody
@GetMapping(value="/update")
public org.springframework.http.ResponseEntity<java.lang.String> update(@RequestParam(value="type")
CsvType type,
@RequestParam(value="year")
int year)