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

onDelete

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

Overrides ResourceHandler.onDelete

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.