| | |
| | | /** |
| | | * HttpHandler fuer die Verwaltung von Entitaeten der Mediazentrale |
| | | * |
| | | * /mz/api/store/[name]/liste |
| | | * /mz/api/store/[name]/listealles (nur Typ Geraet) |
| | | * GET /mz/api/store/[typname]/[name] |
| | | * GET /mz/api/store/[typname]/liste |
| | | * GET /mz/api/store/[typname]/listealles (nur Typ Geraet) |
| | | * |
| | | * @author Ulrich Hilger |
| | | * @version 1, 5.4.2021 |
| | |
| | | // {"ison":false,"has_timer":false,"overpower":false} |
| | | String[] parts = response.body().split(",")[0].split(":"); |
| | | logger.finer("ison: " + parts[1]); |
| | | g.setStatus(parts[1]); |
| | | g.setStatus(Boolean.parseBoolean(parts[1])); |
| | | newList.add(g); |
| | | } |
| | | } |