Modifier and Type | Class and Description |
---|---|
static class |
WebConfig.ServerConfig.SessionsConfig |
Constructor and Description |
---|
ServerConfig() |
Modifier and Type | Method and Description |
---|---|
WebConfig.ServerConfig |
addWelcomeFile(String welcomeFile) |
String |
getContextPath() |
String |
getHost() |
int |
getPort() |
List<String> |
getWelcomeFiles() |
boolean |
isHttp2() |
boolean |
isHttps() |
WebConfig.ServerConfig.SessionsConfig |
sessions() |
WebConfig.ServerConfig |
setContextPath(String contextPath) |
WebConfig.ServerConfig |
setHost(String host) |
WebConfig.ServerConfig |
setHttp2(boolean http2) |
WebConfig.ServerConfig |
setHttps(boolean https) |
WebConfig.ServerConfig |
setPort(int port) |
WebConfig.ServerConfig |
setWelcomeFiles(List<String> welcomeFiles) |
public WebConfig.ServerConfig.SessionsConfig sessions()
public String getHost()
public WebConfig.ServerConfig setHost(String host)
public int getPort()
public WebConfig.ServerConfig setPort(int port)
public String getContextPath()
public WebConfig.ServerConfig setContextPath(String contextPath)
public boolean isHttps()
public WebConfig.ServerConfig setHttps(boolean https)
public boolean isHttp2()
public WebConfig.ServerConfig setHttp2(boolean http2)
public WebConfig.ServerConfig setWelcomeFiles(List<String> welcomeFiles)
public WebConfig.ServerConfig addWelcomeFile(String welcomeFile)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.