Package org.apache.catalina.mapper
Class Mapper.MappedHost
- Enclosing class:
- Mapper
-
Field Summary
Fields inherited from class org.apache.catalina.mapper.Mapper.MapElement
name, object
-
Constructor Summary
ConstructorDescriptionMappedHost
(String name, Host host) Constructor used for the primary HostMappedHost
(String alias, Mapper.MappedHost realHost) Constructor used for an Alias -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAlias
(Mapper.MappedHost alias) void
addAliases
(Collection<? extends Mapper.MappedHost> c) boolean
isAlias()
void
removeAlias
(Mapper.MappedHost alias)
-
Field Details
-
contextList
-
-
Constructor Details
-
MappedHost
Constructor used for the primary Host- Parameters:
name
- The name of the virtual hosthost
- The host
-
MappedHost
Constructor used for an Alias- Parameters:
alias
- The alias of the virtual hostrealHost
- The host the alias points to
-
-
Method Details
-
isAlias
public boolean isAlias() -
getRealHost
-
getRealHostName
-
getAliases
-
addAlias
-
addAliases
-
removeAlias
-