Package kalix.javasdk.valueentity
Interface ValueEntityOptions
- All Superinterfaces:
kalix.javasdk.impl.ComponentOptions
,EntityOptions
Root entity options for all value based entities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValueEntityOptions
defaults()
Create a default entity option for a value based entity.withForwardHeaders
(Set<String> headers) Ask Kalix to forward these headers from the incoming request as metadata headers for the incoming commands.Methods inherited from interface kalix.javasdk.EntityOptions
forwardHeaders
-
Method Details
-
withForwardHeaders
Description copied from interface:EntityOptions
Ask Kalix to forward these headers from the incoming request as metadata headers for the incoming commands. By default, no headers except "X-Server-Timing" are forwarded.- Specified by:
withForwardHeaders
in interfacekalix.javasdk.impl.ComponentOptions
- Specified by:
withForwardHeaders
in interfaceEntityOptions
-
defaults
Create a default entity option for a value based entity.- Returns:
- the entity option
-