Package-level declarations

A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.

A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.

A set of components for creating multiplatform automatic JSON-RPC connectivity with a backend server.

Types

Link copied to clipboard
expect annotation class Column(val value: String)
actual typealias Column = org.springframework.data.relational.core.mapping.Column
Link copied to clipboard
expect annotation class Id
actual typealias Id = org.springframework.data.annotation.Id
Link copied to clipboard
@Component
open class KVHandler(val services: List<KVServiceManager<*>>, val applicationContext: ApplicationContext)

Default Spring Boot handler

Link copied to clipboard
@Configuration
open class KVRouterConfiguration

Default Spring Boot routes

Link copied to clipboard
expect open class KVServiceManager<out T : Any>(serviceClass: KClass<T>) : KVServiceMgr<T>

Multiplatform service manager.

actual open class KVServiceManager<out T : Any>(serviceClass: KClass<T>) : KVServiceManagerJs<T> , KVServiceMgr<T>

Multiplatform service manager.

Multiplatform service manager for Spring Boot.

Link copied to clipboard
@Configuration
open class KVWebSocketConfig(services: List<KVServiceManager<*>>, applicationContext: ApplicationContext)

Spring Boot WebSocket configuration

Link copied to clipboard
class KVWebSocketHandler(services: List<KVServiceManager<*>>, threadLocalWebSocketSession: ThreadLocal<WebSocketSession>, applicationContext: ApplicationContext) : WebSocketHandler, CoroutineScope

Spring Boot WebSocket handler

Link copied to clipboard
expect annotation class PersistenceCreator
actual typealias PersistenceCreator = org.springframework.data.annotation.PersistenceCreator
Link copied to clipboard
typealias RequestHandler = suspend (ServerRequest, ThreadLocal<ServerRequest>, ThreadLocal<ServerResponse.HeadersBuilder<ServerResponse.BodyBuilder>>, ApplicationContext) -> ServerResponse
Link copied to clipboard
Link copied to clipboard
expect annotation class Table(val value: String, val name: String, val schema: String)
actual typealias Table = org.springframework.data.relational.core.mapping.Table
Link copied to clipboard
expect annotation class Transient
actual typealias Transient = org.springframework.data.annotation.Transient
Link copied to clipboard
expect annotation class Value(val value: String)
actual typealias Value = org.springframework.beans.factory.annotation.Value
Link copied to clipboard
expect annotation class Version
actual typealias Version = org.springframework.data.annotation.Version
Link copied to clipboard
typealias WebsocketHandler = suspend (WebSocketSession, ThreadLocal<WebSocketSession>, ApplicationContext, ReceiveChannel<String>, SendChannel<String>) -> Unit

Functions

Link copied to clipboard

This will make IntelliJ think that this function exists. The real implementation will be generated by the KVision Gradle Plugin.

Link copied to clipboard
fun getServerWebExchangeMatcher(vararg services: KVServiceManager<*>): Array<ServerWebExchangeMatcher>

A function to gather paths for spring security matchers.

Link copied to clipboard

This will make IntelliJ think that this function exists. The real implementation will be generated by the KVision Gradle Plugin.

Link copied to clipboard
fun getServiceManagers(vararg kclass: KClass<*>): List<KVServiceManager<*>>

This will make IntelliJ think that this function exists. The real implementation will be generated by the KVision Gradle Plugin.

Link copied to clipboard
fun serviceMatchers(vararg services: KVServiceManager<*>): ServerWebExchangeMatcher

A function to gather paths for spring security matchers.

Link copied to clipboard
fun ServerHttpSecurity.AuthorizeExchangeSpec.serviceMatchers(vararg services: KVServiceManager<*>): ServerHttpSecurity.AuthorizeExchangeSpec.Access

A function to gather paths for spring security matchers.