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()
Host
getAliases
in interface Host
public Iterable<Context> getContexts()
Host
getContexts
in interface Host
public Engine getEngine()
Host
public Context findContext(String path)
Host
findContext
in interface Host
path
- a context pathCopyright © 2023 JBoss by Red Hat. All rights reserved.