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