open fun onPost(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>
Overrides ResourceHandler.onPost
Handler for request of POST
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.