@ConfigurationProperties(prefix="ratpack", ignoreUnknownFields=false) public class RatpackProperties extends Object implements Validator
Constructor and Description |
---|
RatpackProperties() |
Modifier and Type | Method and Description |
---|---|
InetAddress |
getAddress() |
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(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,
Errors errors) |
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 Resource getBasedir()
public void setBasedir(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)