Interface ValueEntityOptions

All Superinterfaces:
kalix.javasdk.impl.ComponentOptions, EntityOptions

public interface ValueEntityOptions extends EntityOptions
Root entity options for all value based entities.
  • Method Details

    • withForwardHeaders

      ValueEntityOptions withForwardHeaders(Set<String> headers)
      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 interface kalix.javasdk.impl.ComponentOptions
      Specified by:
      withForwardHeaders in interface EntityOptions
    • defaults

      static ValueEntityOptions defaults()
      Create a default entity option for a value based entity.
      Returns:
      the entity option