@RestController
@CrossOrigin(origins="*")
@ConditionalOnProperty(value="openaire.exporter.enable.info",
havingValue="true")
public class InfoController
extends AbstractExporterController
AbstractExporterController.ErrorMessage| Constructor and Description |
|---|
InfoController() |
| Modifier and Type | Method and Description |
|---|---|
void |
dropCache() |
LocalDate |
getDate(String infoKey) |
Map<String,LocalDate> |
listInfo() |
List<String> |
listInfoKeys() |
handle400, handle404, handle500, prepareResponsepublic static final String UTF8
@RequestMapping(value="/info/{infoKey}",
produces="application/json",
method=GET)
public LocalDate getDate(@PathVariable
String infoKey)
@RequestMapping(value="/info",
produces="application/json",
method=GET)
public Map<String,LocalDate> listInfo()
@RequestMapping(value="/info/keys",
produces="application/json",
method=GET)
public List<String> listInfoKeys()
@RequestMapping(value="/info/dropCache",
produces="application/json",
method=GET)
public void dropCache()
Copyright © 2025. All rights reserved.