HandlerRequest

This class encapsulates the inputs to a handler.

Constructors

Link copied to clipboard
constructor(invocationId: InvocationId, otelContext: Context, body: Slice, headers: Map<String, String>, @Nullable scope: @Nullable String, @Nullable limitKey: @Nullable String, @Nullable idempotencyKey: @Nullable String, serviceName: String, handlerName: String)
constructor(invocationId: InvocationId, otelContext: Context, body: Slice, headers: Map<String, String>)

Functions

Link copied to clipboard
open fun body(): Slice
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun handlerName(): String
Name of the handler being invoked.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun headers(): Map<String, String>
Link copied to clipboard
@ApiStatus.Experimental
@Nullable
open fun idempotencyKey(): @Nullable String
The idempotency key with which this invocation was submitted, if any.
Link copied to clipboard
Link copied to clipboard
@ApiStatus.Experimental
@Nullable
open fun limitKey(): @Nullable String
PREVIEW: The limit key with which this invocation was submitted, if any.
Link copied to clipboard
open fun openTelemetryContext(): Context
Link copied to clipboard
@ApiStatus.Experimental
@Nullable
open fun scope(): @Nullable String
PREVIEW: The scope key with which this invocation was submitted, if any.
Link copied to clipboard
open fun serviceName(): String
Name of the service being invoked.
Link copied to clipboard
open fun toString(): String