Interface ActionOptions

All Superinterfaces:
kalix.javasdk.impl.ComponentOptions

public interface ActionOptions extends kalix.javasdk.impl.ComponentOptions
Options for actions
  • Method Details

    • defaults

      static ActionOptions defaults()
      Create default options for an action.
    • forwardHeaders

      Set<String> forwardHeaders()
      Specified by:
      forwardHeaders in interface kalix.javasdk.impl.ComponentOptions
      Returns:
      the headers requested to be forwarded as metadata (cannot be mutated, use withForwardHeaders)
    • withForwardHeaders

      ActionOptions withForwardHeaders(Set<String> headers)
      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