Class ApiCacheControlConfig


  • public class ApiCacheControlConfig
    extends Object
    Flattened cache control configuration for a swarm endpoint. Data generally originates from ApiCacheControl annotations.
    Author:
    Eric Orth
    • Constructor Detail

      • ApiCacheControlConfig

        public ApiCacheControlConfig()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setDefaults

        protected void setDefaults()
        Sets all fields to their default value to be used if not set otherwise. Override to change the default configuration.
      • setType

        public void setType​(String type)
      • getType

        public String getType()
      • setMaxAge

        public void setMaxAge​(int maxAge)
      • getMaxAge

        public int getMaxAge()