open fun onPut(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>
Overrides ResourceHandler.onPut
Handler for request of PUT
request
- the incoming request. Metadata is available in its options, and the body contains the data sent
with the POST request
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.