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 Details

    • path

      public final 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 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 Details

    • ContextVersion

      public ContextVersion(String version, String path, int slashCount, Context context, WebResourceRoot resources, String[] welcomeResources)
      Constructor.
      Parameters:
      version - The version
      path - The context path
      slashCount - The number of slashes in the path
      context - The context
      resources - The web resource root
      welcomeResources - 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.