public class Host extends Object implements org.jboss.msc.service.Service<Host>, FilterLocation
Modifier | Constructor and Description |
---|---|
protected |
Host(String name,
List<String> aliases,
String defaultWebModule) |
protected |
Host(String name,
List<String> aliases,
String defaultWebModule,
int defaultResponseCode) |
Modifier and Type | Method and Description |
---|---|
void |
addFilterRef(FilterRef filterRef) |
Map<String,io.undertow.security.api.AuthenticationMechanism> |
getAdditionalAuthenticationMechanisms() |
Set<String> |
getAllAliases() |
String |
getDefaultWebModule() |
Set<io.undertow.servlet.api.Deployment> |
getDeployments() |
String |
getName() |
protected io.undertow.server.HttpHandler |
getOrCreateRootHandler() |
protected io.undertow.server.HttpHandler |
getRootHandler() |
Server |
getServer() |
protected org.jboss.msc.value.InjectedValue<Server> |
getServerInjection() |
protected org.jboss.msc.value.InjectedValue<UndertowService> |
getUndertowService() |
Host |
getValue() |
void |
registerDeployment(io.undertow.servlet.api.Deployment deployment,
io.undertow.server.HttpHandler handler) |
void |
registerHandler(String path,
io.undertow.server.HttpHandler handler) |
void |
removeFilterRef(FilterRef filterRef) |
protected void |
setupDefaultResponseCodeHandler() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
void |
unregisterDeployment(io.undertow.servlet.api.Deployment deployment) |
void |
unregisterHandler(String path) |
protected Host(String name, List<String> aliases, String defaultWebModule, int defaultResponseCode)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<Host>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<Host>
public Host getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<Host>
IllegalStateException
IllegalArgumentException
protected org.jboss.msc.value.InjectedValue<Server> getServerInjection()
public Server getServer()
protected org.jboss.msc.value.InjectedValue<UndertowService> getUndertowService()
public String getName()
protected io.undertow.server.HttpHandler getRootHandler()
protected io.undertow.server.HttpHandler getOrCreateRootHandler()
public String getDefaultWebModule()
public void registerDeployment(io.undertow.servlet.api.Deployment deployment, io.undertow.server.HttpHandler handler)
public void unregisterDeployment(io.undertow.servlet.api.Deployment deployment)
public void registerHandler(String path, io.undertow.server.HttpHandler handler)
public void unregisterHandler(String path)
public Set<io.undertow.servlet.api.Deployment> getDeployments()
Deployment
s on this hostpublic Map<String,io.undertow.security.api.AuthenticationMechanism> getAdditionalAuthenticationMechanisms()
public void addFilterRef(FilterRef filterRef)
addFilterRef
in interface FilterLocation
public void removeFilterRef(FilterRef filterRef)
removeFilterRef
in interface FilterLocation
protected void setupDefaultResponseCodeHandler()
Copyright © 2018 JBoss by Red Hat. All rights reserved.