Class Mapper.ContextVersion

    • Field Detail

      • path

        public final java.lang.String path
        The context path.
      • slashCount

        public final int slashCount
        The number of slashes in the path.
      • welcomeResources

        public java.lang.String[] welcomeResources
        The welcome resources.
      • 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 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 Detail

      • isPaused

        public boolean isPaused()
        Check if the context is paused.
        Returns:
        true if paused
      • markPaused

        public void markPaused()
        Mark the context as paused.