java.lang.Object
cloud.piranha.webapp.impl.DefaultWebApplication
cloud.piranha.server.CrossContextWebApplication
- All Implemented Interfaces:
cloud.piranha.webapp.api.WebApplication
,jakarta.servlet.ServletContext
This web application supports finding other contexts
using
ServletContext.getContext(String)
-
Field Summary
Fields inherited from class cloud.piranha.webapp.impl.DefaultWebApplication
attributes, classLoader, contextAttributeListeners, contextListeners, contextPath, declaredContextListeners, defaultServlet, distributable, effectiveMajorVersion, effectiveMinorVersion, ERROR, errorPageManager, filters, httpRequestManager, httpSessionManager, INITIALIZED, INITIALIZED_DECLARED, initializers, initParameters, invocationFinder, managers, namingManager, requestCharacterEncoding, requestListeners, resourceManager, responseCharacterEncoding, responses, SERVICING, servletContextName, servletEnvironments, SETUP, source, status, tainted, virtualServerName, webApplicationRequestMapper
Fields inherited from interface jakarta.servlet.ServletContext
ORDERED_LIBS, TEMPDIR
-
Constructor Summary
ConstructorDescriptionCrossContextWebApplication(cloud.piranha.webapp.api.WebApplicationServerRequestMapper requestMapper)
Constructor -
Method Summary
Methods inherited from class cloud.piranha.webapp.impl.DefaultWebApplication
addErrorPage, addErrorPage, 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, getDenyUncoveredHttpMethods, getEffectiveMajorVersion, getEffectiveMinorVersion, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getHttpRequestManager, getHttpSessionManager, getInitializers, getInitParameter, getInitParameterNames, getJspConfigDescriptor, getMajorVersion, getManager, getMappings, getMimeType, getMinorVersion, getNamedDispatcher, getNamingManager, getRealPath, getRequest, getRequestCharacterEncoding, getRequestDispatcher, getResource, getResourceAsStream, getResourcePaths, getResponse, getResponseCharacterEncoding, getServerInfo, getServlet, getServletContextName, getServletNames, getServletRegistration, getServletRegistrations, getServlets, getSessionCookieConfig, getSessionTimeout, getVirtualServerName, initialize, initializeDeclaredFinish, initializeFilters, initializeFinish, initializeInitializers, initializeServlets, isDistributable, isInitialized, linkRequestAndResponse, log, log, log, removeAttribute, service, setAttribute, setClassLoader, setContextPath, setDefaultServlet, setDenyUncoveredHttpMethods, setDistributable, setEffectiveMajorVersion, setEffectiveMinorVersion, setHttpRequestManager, setHttpSessionManager, setInitParameter, setManager, setNamingManager, setRequestCharacterEncoding, setResourceManager, setResponseCharacterEncoding, setServletContextName, setSessionTimeout, setSessionTrackingModes, setVirtualServerName, setWebApplicationRequestMapper, start, stop, unlinkRequestAndResponse, 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.webapp.api.WebApplication
addFilterMapping, addFilterMapping, getServletContextId
-
Constructor Details
-
CrossContextWebApplication
public CrossContextWebApplication(cloud.piranha.webapp.api.WebApplicationServerRequestMapper requestMapper)Constructor- Parameters:
requestMapper
- the request mapper
-
-
Method Details
-
getContext
- Specified by:
getContext
in interfacejakarta.servlet.ServletContext
- Overrides:
getContext
in classDefaultWebApplication
-