Class ReferrerPolicyHeaderWriter

    • Constructor Detail

      • ReferrerPolicyHeaderWriter

        public ReferrerPolicyHeaderWriter()
        Creates a new instance. Default value: no-referrer.
      • ReferrerPolicyHeaderWriter

        public ReferrerPolicyHeaderWriter​(ReferrerPolicyHeaderWriter.ReferrerPolicy policy)
        Creates a new instance.
        Parameters:
        policy - a referrer policy
        Throws:
        java.lang.IllegalArgumentException - if policy is null