Index
All Classes and Interfaces|All Packages
C
- com.linecorp.armeria.common.kotlin - package com.linecorp.armeria.common.kotlin
-
Kotlin-related common classes.
- com.linecorp.armeria.server.kotlin - package com.linecorp.armeria.server.kotlin
-
Decorators for Kotlin coroutines.
- CoroutineContextProvider - Interface in com.linecorp.armeria.common.kotlin
-
Returns a
CoroutineContextfrom a givenServiceRequestContext. - CoroutineContexts - Class in com.linecorp.armeria.common.kotlin
-
Configures a coroutine context for annotated services and Kotlin suspending functions.
- CoroutineContextService - Class in com.linecorp.armeria.server.kotlin
-
Decorates an
HttpServiceto configure the coroutine context which is used as an initial context of annotated services' suspending functions.
G
- get(RequestContext) - Static method in class com.linecorp.armeria.common.kotlin.CoroutineContexts
-
Returns the coroutine context mapped to
COROUTINE_CONTEXT_KEYin the context.
N
- newDecorator(CoroutineContextProvider) - Static method in class com.linecorp.armeria.server.kotlin.CoroutineContextService
-
Returns a new
HttpServicedecorator that injects into annotated services the coroutine context provided by the specifiedprovider.
P
- provide(ServiceRequestContext) - Method in interface com.linecorp.armeria.common.kotlin.CoroutineContextProvider
-
Returns a
CoroutineContext.
S
- serve(ServiceRequestContext, HttpRequest) - Method in class com.linecorp.armeria.server.kotlin.CoroutineContextService
- set(RequestContext, CoroutineContext) - Static method in class com.linecorp.armeria.common.kotlin.CoroutineContexts
-
Associates the given coroutine context with
COROUTINE_CONTEXT_KEYattribute in the context.
All Classes and Interfaces|All Packages