Package ratpack.spring.config
Class RatpackProperties
- java.lang.Object
-
- ratpack.spring.config.RatpackProperties
-
- All Implemented Interfaces:
org.springframework.validation.Validator
@ConfigurationProperties(prefix="ratpack", ignoreUnknownFields=false) public class RatpackProperties extends Object implements org.springframework.validation.Validator
-
-
Constructor Summary
Constructors Constructor Description RatpackProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddress
getAddress()
org.springframework.core.io.Resource
getBasedir()
Path
getBasepath()
int
getCacheSize()
String
getContextPath()
int
getMaxThreads()
Integer
getPort()
Integer
getSessionTimeout()
String
getTemplatesPath()
boolean
isDevelopment()
boolean
isStaticallyCompile()
void
setAddress(InetAddress address)
void
setBasedir(org.springframework.core.io.Resource basedir)
void
setCacheSize(int cacheSize)
void
setContextPath(String contextPath)
void
setDevelopment(boolean development)
void
setMaxThreads(int maxThreads)
void
setPort(Integer port)
void
setSessionTimeout(Integer sessionTimeout)
void
setStaticallyCompile(boolean staticallyCompile)
void
setTemplatesPath(String templatesPath)
boolean
supports(Class<?> clazz)
void
validate(Object target, org.springframework.validation.Errors errors)
-
-
-
Method Detail
-
supports
public boolean supports(Class<?> clazz)
- Specified by:
supports
in interfaceorg.springframework.validation.Validator
-
validate
public void validate(Object target, org.springframework.validation.Errors errors)
- Specified by:
validate
in interfaceorg.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)
-
getAddress
public InetAddress getAddress()
-
setAddress
public void setAddress(InetAddress address)
-
getSessionTimeout
public Integer getSessionTimeout()
-
setSessionTimeout
public void setSessionTimeout(Integer sessionTimeout)
-
-