public class WebServerConfig extends Object
Constructor and Description |
---|
WebServerConfig() |
public String getServerName()
public void setServerName(String serverName)
public void setHost(String host)
public void setPort(int port)
public void setReadTimeout(int readTimeout)
public void setSendTimeout(int sendTimeout)
public void setContextPath(String contextPath)
public boolean isMatchRouteIgnoreCase()
public void setMatchRouteIgnoreCase(boolean matchRouteIgnoreCase)
public void setCharacterSet(String characterSet)
public String getResponseCharacterSet()
public void setSessionContainer(String sessionContainer)
public void setSessionTimeout(int sessionTimeout)
public void setKeepAliveTimeout(int keepAliveTimeout)
public String getHost()
public int getPort()
public int getReadTimeout()
public int getSendTimeout()
public String getContextPath()
public String getCharacterSet()
public String getSessionContainer()
public int getSessionTimeout()
public int getKeepAliveTimeout()
public boolean isGzip()
public void setGzip(boolean gzip)
public int getGzipMinSize()
public void setGzipMinSize(int gzipMinSize)
public boolean isAccessLog()
public void setAccessLog(boolean accessLog)
public HttpsConfig getHttps()
public boolean isHttps()
public void setHttps(HttpsConfig https)
public String[] getIndexFiles()
public void setIndexFiles(String indexFiles)
public int getHotSwapInterval()
public void setHotSwapInterval(int hotSwapInterval)
public String getLifeCycleClass()
public void setLifeCycleClassClass(String lifeCycleClass)
public String getPauseURL()
public void setPauseURL(String pauseURL)
public boolean isCache()
public void setCache(boolean cache)
public boolean isEnablePathVariables()
public void setEnablePathVariables(boolean enablePathVariables)
public boolean isEnableWebSocket()
public void setEnableWebSocket(boolean enableWebSocket)
public Chain<HttpFilterConfig> getFilterConfigs()
public List<HttpRouterConfig> getRouterConfigs()
public List<HttpModuleConfig> getModuleConfigs()
public WeaveConfig getWeaveConfig()
public int getMaxRequestSize()
public void setMaxRequestSize(int maxRequestSize)
public void addFilterByList(List<Map<String,Object>> filterInfoList)
filterInfoList
- 过滤器信息列表public void addRouterByList(List<Map<String,Object>> routerInfoList)
routerInfoList
- 路由处理器信息列表public void addModuleByList(List<Map<String,Object>> moduleInfoList)
moduleInfoList
- 路由处理器信息列表Copyright © 2020 Voovan. All rights reserved.