Class CrossContextWebApplication

java.lang.Object
cloud.piranha.webapp.impl.DefaultWebApplication
cloud.piranha.server.CrossContextWebApplication
All Implemented Interfaces:
cloud.piranha.webapp.api.WebApplication, jakarta.servlet.ServletContext

public class CrossContextWebApplication
extends DefaultWebApplication
This web application supports finding other contexts using ServletContext.getContext(String)
  • Constructor Details

    • CrossContextWebApplication

      public CrossContextWebApplication​(cloud.piranha.webapp.api.WebApplicationServerRequestMapper requestMapper)
      Constructor
      Parameters:
      requestMapper - the request mapper
  • Method Details

    • getContext

      public jakarta.servlet.ServletContext getContext​(java.lang.String uripath)
      Specified by:
      getContext in interface jakarta.servlet.ServletContext
      Overrides:
      getContext in class DefaultWebApplication