Builder
Functions
Link copied to clipboard
Add a manual ServiceDefinition to the endpoint.
Add a Restate service to the endpoint.
Like bind, but allows to provide options for the handler runner.
open fun bind(service: Any, configurator: Consumer<ServiceDefinition.Configurator>): Endpoint.Builder
Same as bind but allows to configure the ServiceDefinition before binding it.
open fun bind(service: Any, options: HandlerRunner.Options, configurator: Consumer<ServiceDefinition.Configurator>): Endpoint.Builder
Same as bind but allows to configure the before binding it.
Link copied to clipboard
Link copied to clipboard
Set the OpenTelemetry implementation for tracing and metrics.
Link copied to clipboard
open fun withRequestIdentityVerifier(requestIdentityVerifier: RequestIdentityVerifier): Endpoint.Builder
Set the request identity verifier for this endpoint.