Interface ComponentOptions

    • Method Detail

      • forwardHeaders

        java.util.Set<String> forwardHeaders()
        Returns:
        the headers requested to be forwarded as metadata (cannot be mutated, use withForwardHeaders)
      • withForwardHeaders

        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.
      • defaults

        static ComponentOptions defaults()
        Create a default components option