Annotation Type ReferrerFilter.Config


  • public static @interface ReferrerFilter.Config
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean allow_empty
      Allow empty property.
      java.lang.String[] allow_hosts
      Allow referrer uri hosts property.
      java.lang.String[] allow_hosts_regexp
      Allow referrer regex hosts property
      java.lang.String[] exclude_agents_regexp
      Excluded regexp user agents property
      java.lang.String[] filter_methods
      Filtered methods property
    • Element Detail

      • allow_empty

        boolean allow_empty
        Allow empty property.
        Default:
        false
      • allow_hosts

        java.lang.String[] allow_hosts
        Allow referrer uri hosts property.
        Default:
        {}
      • allow_hosts_regexp

        java.lang.String[] allow_hosts_regexp
        Allow referrer regex hosts property
        Default:
        {}
      • filter_methods

        java.lang.String[] filter_methods
        Filtered methods property
        Default:
        {"POST", "PUT", "DELETE", "COPY", "MOVE"}
      • exclude_agents_regexp

        java.lang.String[] exclude_agents_regexp
        Excluded regexp user agents property
        Default:
        {}