open class BaseResourceHandler : ResourceHandler
Base Implementation for ResourceHandler providing request not supported implementation for all resource handler.
BaseResourceHandler()
Base Implementation for ResourceHandler providing request not supported implementation for all resource handler. |
open fun onDelete(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>
Handler for request of DELETE |
|
open fun onGet(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>
Handler for request of GET |
|
open fun onPost(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>
Handler for request of POST |
|
open fun onPut(request: IncomingRequest, responseBuilder: OutgoingResponseBuilder): Single<OutgoingResponse>
Handler for request of PUT |
abstract class BaseRxResourceHandler : BaseResourceHandler
Abstract class extended from BaseResourceHandler with extra functionality to receive data from a request and forward it to subscribed Observers |
|
class EchoResourceHandler : BaseResourceHandler
Resource handler to echo back any PUT and POST request |