public class Server extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Server.ServerResources
Child mutators for Server
|
| Modifier and Type | Method and Description |
|---|---|
Server |
ajpListener(AjpListener value)
Add the org.wildfly.swarm.config.undertow.server.AjpListener object to the list of subresources
|
Server |
ajpListeners(List<AjpListener> value)
Add all org.wildfly.swarm.config.undertow.server.AjpListener objects to this subresource
|
String |
defaultHost()
The servers default virtual host
|
Server |
defaultHost(String value)
The servers default virtual host
|
String |
getKey() |
Server |
host(Host value)
Add the org.wildfly.swarm.config.undertow.server.Host object to the list of subresources
|
Server |
hosts(List<Host> value)
Add all org.wildfly.swarm.config.undertow.server.Host objects to this subresource
|
Server |
httpListener(HttpListener value)
Add the org.wildfly.swarm.config.undertow.server.HttpListener object to the list of subresources
|
Server |
httpListeners(List<HttpListener> value)
Add all org.wildfly.swarm.config.undertow.server.HttpListener objects to this subresource
|
Server |
httpsListener(HttpsListener value)
Add the org.wildfly.swarm.config.undertow.server.HttpsListener object to the list of subresources
|
Server |
httpsListeners(List<HttpsListener> value)
Add all org.wildfly.swarm.config.undertow.server.HttpsListener objects to this subresource
|
String |
servletContainer()
The servers default servlet container
|
Server |
servletContainer(String value)
The servers default servlet container
|
Server.ServerResources |
subresources() |
public Server(String key)
public String getKey()
public String defaultHost()
public String servletContainer()
public Server.ServerResources subresources()
public Server hosts(List<Host> value)
value - List of org.wildfly.swarm.config.undertow.server.Host objects.public Server host(Host value)
value - The org.wildfly.swarm.config.undertow.server.Host to addpublic Server httpListeners(List<HttpListener> value)
value - List of org.wildfly.swarm.config.undertow.server.HttpListener objects.public Server httpListener(HttpListener value)
value - The org.wildfly.swarm.config.undertow.server.HttpListener to addpublic Server ajpListeners(List<AjpListener> value)
value - List of org.wildfly.swarm.config.undertow.server.AjpListener objects.public Server ajpListener(AjpListener value)
value - The org.wildfly.swarm.config.undertow.server.AjpListener to addpublic Server httpsListeners(List<HttpsListener> value)
value - List of org.wildfly.swarm.config.undertow.server.HttpsListener objects.public Server httpsListener(HttpsListener value)
value - The org.wildfly.swarm.config.undertow.server.HttpsListener to addCopyright © 2015 JBoss by Red Hat. All rights reserved.