Builder

open class Builder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var openTelemetry: OpenTelemetry

Functions

Link copied to clipboard
open fun bind(serviceDefinition: ServiceDefinition): Endpoint.Builder
Add a manual ServiceDefinition to the endpoint.
open fun bind(service: Any): Endpoint.Builder
Add a Restate service to the endpoint.
open fun bind(service: Any, options: HandlerRunner.Options): Endpoint.Builder
Like bind, but allows to provide options for the handler runner.
Same as bind but allows to configure the ServiceDefinition before binding it.
Same as bind but allows to configure the before binding it.
Link copied to clipboard
open fun build(): Endpoint
Link copied to clipboard
Link copied to clipboard
open fun withOpenTelemetry(openTelemetry: OpenTelemetry): Endpoint.Builder
Set the OpenTelemetry implementation for tracing and metrics.
Link copied to clipboard
Set the request identity verifier for this endpoint.