Class ServerWebApplication

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

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

    • ServerWebApplication

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

    • getContext

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