Methods Summary |
---|
public void | addAlias(java.lang.String alias)Add an alias name that should be mapped to this same Host.
|
public void | addDefaultContext(DefaultContext defaultContext)Set the DefaultContext
for new web applications.
|
public java.lang.String[] | findAliases()Return the set of alias names for this Host. If none are defined,
a zero length array is returned.
|
public java.lang.String | getAppBase()Return the application root for this Host. This can be an absolute
pathname, a relative pathname, or a URL.
|
public boolean | getAutoDeploy()Return the value of the auto deploy flag. If true, it indicates that
this host's child webapps should be discovred and automatically
deployed dynamically.
|
public DefaultContext | getDefaultContext()Retrieve the DefaultContext for new web applications.
|
public boolean | getDeployOnStartup()Return the value of the deploy on startup flag. If true, it indicates
that this host's child webapps should be discovred and automatically
deployed.
|
public java.lang.String | getName()Return the canonical, fully qualified, name of the virtual host
this Container represents.
|
public int[] | getPorts()Gets the port numbers with which this Host is associated.
|
public boolean | getXmlNamespaceAware()Get the server.xml attribute's xmlNamespaceAware.
|
public boolean | getXmlValidation()Get the server.xml attribute's xmlValidation.
|
public void | importDefaultContext(Context context)Import the DefaultContext config into a web application context.
|
public Context | map(java.lang.String uri)Return the Context that would be used to process the specified
host-relative request URI, if any; otherwise return null .
|
public void | removeAlias(java.lang.String alias)Remove the specified alias name from the aliases for this Host.
|
public void | setAppBase(java.lang.String appBase)Set the application root for this Host. This can be an absolute
pathname, a relative pathname, or a URL.
|
public void | setAutoDeploy(boolean autoDeploy)Set the auto deploy flag value for this host.
|
public void | setDeployOnStartup(boolean deployOnStartup)Set the deploy on startup flag value for this host.
|
public void | setName(java.lang.String name)Set the canonical, fully qualified, name of the virtual host
this Container represents.
|
public void | setPorts(int[] ports)Associates this Host with the given port numbers.
|
public void | setXmlNamespaceAware(boolean xmlNamespaceAware)Set the namespace aware feature of the XML parser used when
parsing xml instances.
|
public void | setXmlValidation(boolean xmlValidation)Set the validation feature of the XML parser used when
parsing xml instances.
|