Class ServerWebApplication

java.lang.Object
cloud.piranha.core.impl.DefaultWebApplication
cloud.piranha.server.ServerWebApplication
All Implemented Interfaces:
cloud.piranha.core.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.core.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