RouteExecutor

class RouteExecutor(parameterResolver: ParameterResolver, authHandler: AuthenticationHandler, executionHandlerFactory: MethodExecutionHandlerFactory) : KoinComponent

ハンドラーメソッドを実行するクラス Cloud (Incendo/cloud) のパターンに基づきファクトリを使用してハンドラーを選択する

パラメータ解決、認証チェック、メソッド実行、レスポンス生成を担当する

Constructors

Link copied to clipboard
constructor(parameterResolver: ParameterResolver, authHandler: AuthenticationHandler, executionHandlerFactory: MethodExecutionHandlerFactory)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
suspend fun execute(call: ApplicationCall, metadata: EndpointMetadata)

エンドポイントメタデータに基づいてハンドラーを実行する

Link copied to clipboard
open fun getKoin(): Koin