GoldenGateBindings / com.fitbit.goldengate.bindings.coap.handler / ResourceHandler / onDelete

onDelete

abstract fun onDelete(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>

Handler for request of DELETE

Parameters

request - the incoming request. Examine its options to view query parameters and other metadata.

responseBuilder - the OutgoingResponseBuilder that should be used to construct a response.

Return
A Single that emits either an OutgoingResponse built with responseBuilder or an error. This response will be delivered to the client.