package scalasdk
- Alphabetic
- Public
- Protected
Package Members
Type Members
- trait CloudEvent extends AnyRef
CloudEvent representation of Metadata.
- trait Context extends AnyRef
- trait DeferredCall[I, O] extends AnyRef
Represents a call to a component service that has not yet happened, but will be handed to Kalix for execution.
Represents a call to a component service that has not yet happened, but will be handed to Kalix for execution. Used with forwards and side effects.
- I
the message type of the parameter for the call
- O
the message type that the call returns Not for user extension.
- trait EntityContext extends Context
Root context for all contexts that pertain to entities, that is, things that are addressable via an entity id.
- trait EntityOptions extends ComponentOptions
Options used for configuring an entity.
- trait JwtClaims extends AnyRef
Representation of JWT claims that have been validated and extracted from the bearer token of a request.
- class Kalix extends AnyRef
The Kalix class is the main interface to configuring entities to deploy, and subsequently starting a local server which will expose these entities to the Kalix Runtime Sidecar.
- class KalixRunner extends AnyRef
- trait Metadata extends Iterable[MetadataEntry]
Transport specific metadata.
Transport specific metadata.
The exact semantics of how metadata is handled depends on the underlying transport. This API exposes case insensitive lookups on metadata, but maintains the original case of the keys as received or inserted. If case matters, the iterator should be used to access elements.
Multiple values are also supported per key, if the underlying transport does not support multiple values per key, which value will be used is undefined.
Metadata can either have a string or a binary value. If the underlying transport doesn't support one or the other, how those values are handled is undefined - eg, text values may be UTF-8 encoded in binary, or binary values may be Base64 encoded, it depends on the transport.
This API maintains the order of entries, but the underlying transport may not.
Implementations of this class should be immutable, all update operations should return a copy of the metadata.
- trait MetadataContext extends Context
Context that provides access to metadata.
- trait MetadataEntry extends AnyRef
A metadata entry.
- trait PassivationStrategy extends AnyRef
A passivation strategy.
- sealed trait Principal extends AnyRef
A principal associated with a request.
- trait Principals extends AnyRef
- trait SideEffect extends AnyRef
- sealed trait StatusCode extends AnyRef
A sealed trait representing HTTP status codes.
- trait TraceContext extends AnyRef
Value Members
- object CloudEvent
- object JsonSupport
- object Kalix
- object Metadata
- object PassivationStrategy extends PassivationStrategy
A passivation strategy.
- object Principal
- case object ScalaSdkBuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object SideEffect
- object StatusCode
Companion object for the
StatusCode
trait, containing various HTTP status code definitions.