DefaultTaskBridgeRouteResolver

Default implementation of TaskBridgeRouteResolver using standard api/v1/tasks paths.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun cancelTaskPath(context: Ctx, taskId: String): String

Path to cancel a task.

Link copied to clipboard
open fun createTaskMultipartPath(context: Ctx): String

Path to start a task with multipart input. Defaults to createTaskPath.

Link copied to clipboard
open override fun createTaskPath(context: Ctx): String

Path to start a task with JSON input.

Link copied to clipboard
open override fun pollEventsPath(context: Ctx, taskId: String): String

Path to poll for task events.

Link copied to clipboard
open override fun streamEventsPath(context: Ctx, taskId: String): String

Path to the SSE endpoint for event streaming.

Link copied to clipboard
open override fun submitActionPath(context: Ctx, taskId: String): String

Path to submit a user action for a suspended task.

Link copied to clipboard
open override fun webSocketPath(context: Ctx): String

Path to the WebSocket endpoint for event streaming.