Class Mapper.ContextList
java.lang.Object
org.apache.catalina.mapper.Mapper.ContextList
- Enclosing class:
Mapper
List of mapped contexts.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Mapper.MappedContext[]The array of mapped contexts.final intThe nesting level. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContext(Mapper.MappedContext mappedContext, int slashCount) Add a context to the list.removeContext(String path) Remove a context from the list.
-
Field Details
-
contexts
The array of mapped contexts. -
nesting
public final int nestingThe nesting level.
-
-
Constructor Details
-
ContextList
public ContextList()Default constructor.
-
-
Method Details
-
addContext
Add a context to the list.- Parameters:
mappedContext- The context to addslashCount- The number of slashes in the path- Returns:
- the new ContextList or null if failed
-
removeContext
Remove a context from the list.- Parameters:
path- The path of the context to remove- Returns:
- the new ContextList or null if failed
-