Class MaxAgePolicy

    • Constructor Detail

      • MaxAgePolicy

        public MaxAgePolicy()
        No args constructor for use in serialization
      • MaxAgePolicy

        public MaxAgePolicy​(Integer largestMaxAge,
                            Integer smallestMaxAge)
    • Method Detail

      • getLargestMaxAge

        public Integer getLargestMaxAge()
        The largest allowed value (in seconds) of the RequiredHSTSPolicy max-age This value can be left unspecified, in which case no upper limit is enforced.
      • setLargestMaxAge

        public void setLargestMaxAge​(Integer largestMaxAge)
        The largest allowed value (in seconds) of the RequiredHSTSPolicy max-age This value can be left unspecified, in which case no upper limit is enforced.
      • getSmallestMaxAge

        public Integer getSmallestMaxAge()
        The smallest allowed value (in seconds) of the RequiredHSTSPolicy max-age Setting max-age=0 allows the deletion of an existing HSTS header from a host. This is a necessary tool for administrators to quickly correct mistakes. This value can be left unspecified, in which case no lower limit is enforced.
      • setSmallestMaxAge

        public void setSmallestMaxAge​(Integer smallestMaxAge)
        The smallest allowed value (in seconds) of the RequiredHSTSPolicy max-age Setting max-age=0 allows the deletion of an existing HSTS header from a host. This is a necessary tool for administrators to quickly correct mistakes. This value can be left unspecified, in which case no lower limit is enforced.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)