| Modifier and Type | Field and Description |
|---|---|
protected Engine |
engine |
protected org.apache.catalina.Host |
host |
protected TomcatFactoryRegistry |
registry |
| Constructor and Description |
|---|
TomcatHost(TomcatFactoryRegistry registry,
org.apache.catalina.Host host,
Engine engine)
Constructs a new CatalinaHost wrapping the specified catalina host.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Context |
findContext(String path)
Returns the context identified by the specified context path.
|
Set<String> |
getAliases()
Returns the aliases of this host, including the actual host name
|
Iterable<Context> |
getContexts()
Returns the contexts associated with this host.
|
Engine |
getEngine()
The engine to which this host is associated.
|
String |
getName()
The name of this host.
|
int |
hashCode() |
String |
toString() |
protected final TomcatFactoryRegistry registry
protected final org.apache.catalina.Host host
protected final Engine engine
public TomcatHost(TomcatFactoryRegistry registry, org.apache.catalina.Host host, Engine engine)
host - a catalina hostengine - the parent containerpublic Set<String> getAliases()
HostgetAliases in interface Hostpublic Iterable<Context> getContexts()
HostgetContexts in interface Hostpublic Engine getEngine()
Hostpublic Context findContext(String path)
HostfindContext in interface Hostpath - a context pathCopyright © 2023 JBoss by Red Hat. All rights reserved.