KVController

@Controller(value = /)
open class KVController

Controller for handling automatic routes.

Constructors

KVController
Link copied to clipboard
fun KVController()

Functions

delete
Link copied to clipboard
@Delete(value = {/path:kv/.*})
suspend fun delete(@PathVariable() path: String?, request: HttpRequest<*>, @Body() body: JsonRpcRequest): HttpResponse<String>
get
Link copied to clipboard
@Get(value = {/path:kv/.*})
suspend fun get(@PathVariable() path: String?, request: HttpRequest<*>): HttpResponse<String>
options
Link copied to clipboard
@Options(value = {/path:kv/.*})
suspend fun options(@PathVariable() path: String?, request: HttpRequest<*>, @Body() body: JsonRpcRequest): HttpResponse<String>
post
Link copied to clipboard
@Post(value = {/path:kv/.*})
suspend fun post(@PathVariable() path: String?, request: HttpRequest<*>, @Body() body: JsonRpcRequest): HttpResponse<String>
put
Link copied to clipboard
@Put(value = {/path:kv/.*})
suspend fun put(@PathVariable() path: String?, request: HttpRequest<*>, @Body() body: JsonRpcRequest): HttpResponse<String>

Properties

applicationContext
Link copied to clipboard
@Inject()
lateinit var applicationContext: ApplicationContext
kvManagers
Link copied to clipboard
@Inject()
lateinit var kvManagers: KVManagers