KVController

@Controller(value = "/kv")
open class KVController(source)

Controller for handling automatic routes.

Constructors

Link copied to clipboard
constructor()

Properties

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

Functions

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