Class SignedHeadersConfig.Builder

    • Method Detail

      • defaultConfig

        public SignedHeadersConfig.Builder defaultConfig​(SignedHeadersConfig.HeadersConfig config)
        Default configuration is used by methods that do not have an explicit configuration.

        Configuration is not cumulative - e.g. if you configure default to require "date" and "host" headers and method "get" to require "(request-target)", get will NOT require "date" and "host"

        Parameters:
        config - configuration of method (e.g. headers that must always be signed and headers to be signed when available in request)
        Returns:
        updated builder instance