Class St1DeviceLocationPut
java.lang.Object
com.io7m.stonesignal.server.device_api_v1.St1DeviceLocationPut
- All Implemented Interfaces:
io.helidon.webserver.http.Handler,io.helidon.webserver.ServerLifecycle
device-location-put
-
Constructor Summary
ConstructorsConstructorDescriptionSt1DeviceLocationPut(com.io7m.repetoir.core.RPServiceDirectoryType inServices) device-location-put -
Method Summary
Modifier and TypeMethodDescriptionprotected final StDevicedevice()final voidhandle(io.helidon.webserver.http.ServerRequest request, io.helidon.webserver.http.ServerResponse response) protected voidhandleAuthenticated(io.helidon.webserver.http.ServerRequest request, io.helidon.webserver.http.ServerResponse response) protected Stringname()protected final <C extends St1DeviceMessageType>
Cprotected final voidsend(io.helidon.webserver.http.ServerResponse response, St1DeviceMessageType message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart, afterStop, beforeStart
-
Constructor Details
-
St1DeviceLocationPut
public St1DeviceLocationPut(com.io7m.repetoir.core.RPServiceDirectoryType inServices) device-location-put- Parameters:
inServices- The services
-
-
Method Details
-
handleAuthenticated
protected void handleAuthenticated(io.helidon.webserver.http.ServerRequest request, io.helidon.webserver.http.ServerResponse response) throws IOException, com.io7m.darco.api.DDatabaseException - Throws:
IOExceptioncom.io7m.darco.api.DDatabaseException
-
name
-
device
-
handle
public final void handle(io.helidon.webserver.http.ServerRequest request, io.helidon.webserver.http.ServerResponse response) - Specified by:
handlein interfaceio.helidon.webserver.http.Handler
-
read
protected final <C extends St1DeviceMessageType> C read(io.helidon.webserver.http.ServerRequest request, Class<C> clazz) throws IOException - Throws:
IOException
-
send
protected final void send(io.helidon.webserver.http.ServerResponse response, St1DeviceMessageType message)
-