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)
.-
Field Summary
Fields inherited from class cloud.piranha.core.impl.DefaultWebApplication
attributes, classLoader, contextAttributeListeners, contextListeners, contextPath, declaredContextListeners, defaultServlet, distributable, effectiveMajorVersion, effectiveMinorVersion, ERROR, filters, INITIALIZED, INITIALIZED_DECLARED, initializers, initParameters, invocationFinder, manager, metadataComplete, requestCharacterEncoding, requestListeners, responseCharacterEncoding, responses, SERVICING, servletContextName, servletEnvironments, SETUP, source, status, tainted, virtualServerName, webApplicationRequestMapper
Fields inherited from interface jakarta.servlet.ServletContext
ORDERED_LIBS, TEMPDIR
-
Constructor Summary
ConstructorDescriptionServerWebApplication
(cloud.piranha.core.api.WebApplicationServerRequestMapper requestMapper) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.ServletContext
getContext
(String uripath) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class cloud.piranha.core.impl.DefaultWebApplication
addFilter, addFilter, addFilter, addFilterMapping, addInitializer, addInitializer, addJspFile, addListener, addListener, addListener, addResource, addServlet, addServlet, addServlet, addServletMapping, createFilter, createListener, createServlet, declareRoles, destroy, getAttribute, getAttributeNames, getClassLoader, getContextPath, getDefaultServlet, getDefaultSessionTrackingModes, getEffectiveMajorVersion, getEffectiveMinorVersion, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getInitializers, getInitParameter, getInitParameterNames, getJspConfigDescriptor, getMajorVersion, getManager, getMappings, getMimeType, getMinorVersion, getNamedDispatcher, getRealPath, getRequest, getRequestCharacterEncoding, getRequestDispatcher, getResource, getResourceAsStream, getResourcePaths, getResponse, getResponseCharacterEncoding, getServerInfo, getServletContextName, getServletRegistration, getServletRegistrations, getSessionCookieConfig, getSessionTimeout, getVirtualServerName, initialize, initializeDeclaredFinish, initializeFilters, initializeFinish, initializeInitializers, initializeServlets, isDistributable, isInitialized, isMetadataComplete, linkRequestAndResponse, log, log, removeAttribute, removeServletMapping, service, setAttribute, setClassLoader, setContextPath, setDefaultServlet, setDistributable, setEffectiveMajorVersion, setEffectiveMinorVersion, setInitParameter, setJspConfigDescriptor, setMetadataComplete, setRequestCharacterEncoding, setResponseCharacterEncoding, setServletContextName, setSessionTimeout, setSessionTrackingModes, setVirtualServerName, setWebApplicationRequestMapper, start, stop, unlinkRequestAndResponse, verifyRequestResponseTypes, verifyState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cloud.piranha.core.api.WebApplication
addFilterMapping, addFilterMapping, getServletContextId
-
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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getContext
in interfacejakarta.servlet.ServletContext
- Overrides:
getContext
in classDefaultWebApplication
-