Class StatusController
- java.lang.Object
-
- ro.pippo.controller.Controller
-
- li.pitschmann.knx.core.plugin.api.v1.controllers.AbstractController
-
- li.pitschmann.knx.core.plugin.api.v1.controllers.StatusController
-
public final class StatusController extends AbstractController
Controller for requesting the KNX client status pool
-
-
Field Summary
-
Fields inherited from class li.pitschmann.knx.core.plugin.api.v1.controllers.AbstractController
log
-
-
Constructor Summary
Constructors Constructor Description StatusController(KnxClient knxClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<StatusResponse>statusAll()Endpoint to get all KNX statusStatusResponsestatusOne(String groupAddressStr)-
Methods inherited from class li.pitschmann.knx.core.plugin.api.v1.controllers.AbstractController
getKnxClient, limitAndGetAsList
-
-
-
-
Constructor Detail
-
StatusController
public StatusController(KnxClient knxClient)
-
-
Method Detail
-
statusAll
@GET("/status") @Produces("application/json") public List<StatusResponse> statusAll()Endpoint to get all KNX status- Returns:
-
statusOne
@GET("/status/{ga: \\d+(\\/\\d+)?(\\/\\d+)?}") @Produces("application/json") public StatusResponse statusOne(@Param("ga") String groupAddressStr)
-
-