Class RatpackProperties

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

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

      • RatpackProperties

        public RatpackProperties()
    • Method Detail

      • supports

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

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

        public java.lang.String getTemplatesPath()
      • setTemplatesPath

        public void setTemplatesPath​(java.lang.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 java.nio.file.Path getBasepath()
      • getBasedir

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

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

        public java.lang.String getContextPath()
      • setContextPath

        public void setContextPath​(java.lang.String contextPath)
      • getPort

        public java.lang.Integer getPort()
      • setPort

        public void setPort​(java.lang.Integer port)
      • getAddress

        public java.net.InetAddress getAddress()
      • setAddress

        public void setAddress​(java.net.InetAddress address)
      • getSessionTimeout

        public java.lang.Integer getSessionTimeout()
      • setSessionTimeout

        public void setSessionTimeout​(java.lang.Integer sessionTimeout)