Class RatpackProperties

  • All Implemented Interfaces:
    org.springframework.validation.Validator

    @ConfigurationProperties(prefix="ratpack",
                             ignoreUnknownFields=false)
    public class RatpackProperties
    extends Object
    implements org.springframework.validation.Validator
    • Constructor Detail

      • RatpackProperties

        public RatpackProperties()
    • Method Detail

      • supports

        public boolean supports​(Class<?> clazz)
        Specified by:
        supports in interface org.springframework.validation.Validator
      • validate

        public void validate​(Object target,
                             org.springframework.validation.Errors errors)
        Specified by:
        validate in interface org.springframework.validation.Validator
      • getTemplatesPath

        public String getTemplatesPath()
      • setTemplatesPath

        public void setTemplatesPath​(String templatesPath)
      • getCacheSize

        public int getCacheSize()
      • setCacheSize

        public void setCacheSize​(int cacheSize)
      • isDevelopment

        public boolean isDevelopment()
      • setDevelopment

        public void setDevelopment​(boolean development)
      • isStaticallyCompile

        public boolean isStaticallyCompile()
      • setStaticallyCompile

        public void setStaticallyCompile​(boolean staticallyCompile)
      • getMaxThreads

        public int getMaxThreads()
      • setMaxThreads

        public void setMaxThreads​(int maxThreads)
      • getBasepath

        public Path getBasepath()
      • getBasedir

        public org.springframework.core.io.Resource getBasedir()
      • setBasedir

        public void setBasedir​(org.springframework.core.io.Resource basedir)
      • getContextPath

        public String getContextPath()
      • setContextPath

        public void setContextPath​(String contextPath)
      • getPort

        public Integer getPort()
      • setPort

        public void setPort​(Integer port)
      • setAddress

        public void setAddress​(InetAddress address)
      • getSessionTimeout

        public Integer getSessionTimeout()
      • setSessionTimeout

        public void setSessionTimeout​(Integer sessionTimeout)