Class ServerWebApplication

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

This module and distribution is deprecated. Please use the cloud.piranha.dist.server module and its distribution instead.

  • Constructor Details

    • ServerWebApplication

      public ServerWebApplication(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