Class Mapper.ContextVersion
java.lang.Object
org.apache.catalina.mapper.Mapper.MapElement<Context>
org.apache.catalina.mapper.Mapper.ContextVersion
- Enclosing class:
Mapper
Represents a versioned context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe default wrapper.The exact match wrappers.The extension match wrappers.intThe nesting level.final StringThe context path.final WebResourceRootThe web resource root.final intThe number of slashes in the path.String[]The welcome resources.The wildcard match wrappers.Fields inherited from class Mapper.MapElement
name, object -
Constructor Summary
ConstructorsConstructorDescriptionContextVersion(String version, String path, int slashCount, Context context, WebResourceRoot resources, String[] welcomeResources) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPaused()Check if the context is paused.voidMark the context as paused.
-
Field Details
-
path
The context path. -
slashCount
public final int slashCountThe number of slashes in the path. -
resources
The web resource root. -
welcomeResources
The welcome resources. -
defaultWrapper
The default wrapper. -
exactWrappers
The exact match wrappers. -
wildcardWrappers
The wildcard match wrappers. -
extensionWrappers
The extension match wrappers. -
nesting
public int nestingThe nesting level.
-
-
Constructor Details
-
ContextVersion
public ContextVersion(String version, String path, int slashCount, Context context, WebResourceRoot resources, 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
-
-
Method Details
-
isPaused
public boolean isPaused()Check if the context is paused.- Returns:
- true if paused
-
markPaused
public void markPaused()Mark the context as paused.
-