Interface ActionOptions

  • All Superinterfaces:

    public interface ActionOptions
    extends com.akkaserverless.javasdk.impl.ComponentOptions
    Options for actions
    • Method Detail

      • defaults

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

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

        com.akkaserverless.javasdk.impl.ComponentOptions withForwardHeaders​(java.util.Set<String> headers)
        Ask Akka Serverless 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 com.akkaserverless.javasdk.impl.ComponentOptions