public class Host extends Object implements org.jboss.msc.service.Service<Host>, FilterLocation
| Constructor and Description |
|---|
Host(String name,
List<String> aliases,
String defaultWebModule,
int defaultResponseCode,
boolean queueRequestsOnStart) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(UndertowFilter filterRef) |
Map<String,io.undertow.security.api.AuthenticationMechanism> |
getAdditionalAuthenticationMechanisms() |
Set<String> |
getAllAliases() |
String |
getDefaultWebModule() |
Set<io.undertow.servlet.api.Deployment> |
getDeployments() |
Set<String> |
getLocations() |
String |
getName() |
protected io.undertow.server.HttpHandler |
getOrCreateRootHandler() |
protected io.undertow.server.HttpHandler |
getRootHandler() |
Server |
getServer() |
protected org.jboss.msc.value.InjectedValue<Server> |
getServerInjection() |
org.jboss.msc.value.InjectedValue<org.jboss.as.server.suspend.SuspendController> |
getSuspendControllerInjectedValue() |
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 |
removeFilter(UndertowFilter 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) |
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic Host getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<Host>IllegalStateExceptionIllegalArgumentExceptionprotected 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()
Deployments on this hostpublic Map<String,io.undertow.security.api.AuthenticationMechanism> getAdditionalAuthenticationMechanisms()
public org.jboss.msc.value.InjectedValue<org.jboss.as.server.suspend.SuspendController> getSuspendControllerInjectedValue()
public void addFilter(UndertowFilter filterRef)
addFilter in interface FilterLocationpublic void removeFilter(UndertowFilter filterRef)
removeFilter in interface FilterLocationprotected void setupDefaultResponseCodeHandler()
Copyright © 2020 JBoss by Red Hat. All rights reserved.