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

@Deprecated(since="22.10.0", forRemoval=true) public class ServerWebApplication extends DefaultWebApplication
Deprecated, for removal: This API element is subject to removal in a future version.
This web application supports finding other contexts using ServletContext.getContext(String).
  • Constructor Details

    • ServerWebApplication

      public ServerWebApplication(cloud.piranha.core.api.WebApplicationServerRequestMapper requestMapper)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor.
      Parameters:
      requestMapper - the request mapper.
  • Method Details

    • getContext

      public jakarta.servlet.ServletContext getContext(String uripath)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getContext in interface jakarta.servlet.ServletContext
      Overrides:
      getContext in class DefaultWebApplication