Interface EntityOptions
- All Superinterfaces:
kalix.javasdk.impl.ComponentOptions
- All Known Subinterfaces:
EventSourcedEntityOptions, ReplicatedEntityOptions, ValueEntityOptions
public interface EntityOptions
extends kalix.javasdk.impl.ComponentOptions
Options used for configuring an entity.
-
Method Summary
Modifier and TypeMethodDescriptionkalix.javasdk.impl.ComponentOptionswithForwardHeaders(Set<String> headers) Ask Kalix to forward these headers from the incoming request as metadata headers for the incoming commands.
-
Method Details
-
forwardHeaders
-
withForwardHeaders
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:
withForwardHeadersin interfacekalix.javasdk.impl.ComponentOptions
-