Package org.apache.catalina.mapper
Class Mapper.ContextVersion
- java.lang.Object
-
- org.apache.catalina.mapper.Mapper.MapElement<Context>
-
- org.apache.catalina.mapper.Mapper.ContextVersion
-
- Enclosing class:
- Mapper
protected static final class Mapper.ContextVersion extends Mapper.MapElement<Context>
Represents a versioned context.
-
-
Field Summary
Fields Modifier and Type Field Description Mapper.MappedWrapperdefaultWrapperThe default wrapper.Mapper.MappedWrapper[]exactWrappersThe exact match wrappers.Mapper.MappedWrapper[]extensionWrappersThe extension match wrappers.intnestingThe nesting level.java.lang.StringpathThe context path.WebResourceRootresourcesThe web resource root.intslashCountThe number of slashes in the path.java.lang.String[]welcomeResourcesThe welcome resources.Mapper.MappedWrapper[]wildcardWrappersThe wildcard match wrappers.-
Fields inherited from class org.apache.catalina.mapper.Mapper.MapElement
name, object
-
-
Constructor Summary
Constructors Constructor Description ContextVersion(java.lang.String version, java.lang.String path, int slashCount, Context context, WebResourceRoot resources, java.lang.String[] welcomeResources)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPaused()Check if the context is paused.voidmarkPaused()Mark the context as paused.
-
-
-
Field Detail
-
path
public final java.lang.String path
The context path.
-
slashCount
public final int slashCount
The number of slashes in the path.
-
resources
public final WebResourceRoot resources
The web resource root.
-
welcomeResources
public java.lang.String[] welcomeResources
The welcome resources.
-
defaultWrapper
public Mapper.MappedWrapper defaultWrapper
The default wrapper.
-
exactWrappers
public Mapper.MappedWrapper[] exactWrappers
The exact match wrappers.
-
wildcardWrappers
public Mapper.MappedWrapper[] wildcardWrappers
The wildcard match wrappers.
-
extensionWrappers
public Mapper.MappedWrapper[] extensionWrappers
The extension match wrappers.
-
nesting
public int nesting
The nesting level.
-
-
Constructor Detail
-
ContextVersion
public ContextVersion(java.lang.String version, java.lang.String path, int slashCount, Context context, WebResourceRoot resources, java.lang.String[] welcomeResources)Constructor.- Parameters:
version- The versionpath- The context pathslashCount- The number of slashes in the pathcontext- The contextresources- The web resource rootwelcomeResources- The welcome resources
-
-