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>
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
get
Link copied to clipboard
@Get(value = "{/path:kv/.*}")
suspend fun get(@PathVariable() path: String?, request: HttpRequest<*>): HttpResponse<String>
hashCode
Link copied to clipboard
open fun hashCode(): Int
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>
toString
Link copied to clipboard
open fun toString(): String

Properties

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