java.lang.Object
cloud.piranha.webapp.impl.DefaultWebApplication
cloud.piranha.server.CrossContextWebApplication
- All Implemented Interfaces:
cloud.piranha.webapp.api.WebApplication
,jakarta.servlet.ServletContext
public class CrossContextWebApplication extends DefaultWebApplication
This web application supports finding other contexts
using
ServletContext.getContext(String)
-
Field Summary
Fields inherited from class cloud.piranha.webapp.impl.DefaultWebApplication
annotationManager, asyncManager, attributes, classLoader, contextAttributeListeners, contextListeners, contextPath, declaredContextListeners, defaultServlet, distributable, effectiveMajorVersion, effectiveMinorVersion, ERROR, errorPageManager, filters, httpRequestManager, httpSessionManager, INITIALIZED, INITIALIZED_DECLARED, initializers, initParameters, invocationFinder, jspManager, localeEncodingManager, loggingManager, mimeTypeManager, multiPartManager, namingManager, objectInstanceManager, policyManager, requestCharacterEncoding, requestListeners, resourceManager, responseCharacterEncoding, responses, securityManager, SERVICING, servletContextName, servletEnvironments, SETUP, source, status, tainted, virtualServerName, webApplicationRequestMapper, welcomeFileManager
Fields inherited from interface jakarta.servlet.ServletContext
ORDERED_LIBS, TEMPDIR
-
Constructor Summary
Constructors Constructor Description CrossContextWebApplication(cloud.piranha.webapp.api.WebApplicationServerRequestMapper requestMapper)
Constructor -
Method Summary
Modifier and Type Method Description jakarta.servlet.ServletContext
getContext(java.lang.String uripath)
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, getAnnotationManager, getAsyncManager, getAttribute, getAttributeNames, getClassLoader, getContextPath, getDefaultServlet, getDefaultSessionTrackingModes, getDenyUncoveredHttpMethods, getEffectiveMajorVersion, getEffectiveMinorVersion, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getHttpRequestManager, getHttpSessionManager, getInitializers, getInitParameter, getInitParameterNames, getJspConfigDescriptor, getLocaleEncodingManager, getMajorVersion, getMappings, getMimeType, getMimeTypeManager, getMinorVersion, getMultiPartManager, getNamedDispatcher, getNamingManager, getObjectInstanceManager, getPolicyManager, getRealPath, getRequest, getRequestCharacterEncoding, getRequestDispatcher, getResource, getResourceAsStream, getResourcePaths, getResponse, getResponseCharacterEncoding, getSecurityManager, getServerInfo, getServlet, getServletContextName, getServletNames, getServletRegistration, getServletRegistrations, getServlets, getSessionCookieConfig, getSessionTimeout, getVirtualServerName, getWelcomeFileManager, initialize, initializeDeclaredFinish, initializeFilters, initializeFinish, initializeInitializers, initializeServlets, isDistributable, isInitialized, linkRequestAndResponse, log, log, log, removeAttribute, service, setAnnotationManager, setAttribute, setClassLoader, setContextPath, setDefaultServlet, setDenyUncoveredHttpMethods, setDistributable, setEffectiveMajorVersion, setEffectiveMinorVersion, setHttpRequestManager, setHttpSessionManager, setInitParameter, setJspManager, setLocaleEncodingManager, setLoggingManager, setMimeTypeManager, setMultiPartManager, setNamingManager, setObjectInstanceManager, setRequestCharacterEncoding, setResourceManager, setResponseCharacterEncoding, setSecurityManager, setServletContextName, setSessionTimeout, setSessionTrackingModes, setVirtualServerName, setWebApplicationRequestMapper, setWelcomeFileManager, 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
public jakarta.servlet.ServletContext getContext(java.lang.String uripath)- Specified by:
getContext
in interfacejakarta.servlet.ServletContext
- Overrides:
getContext
in classDefaultWebApplication
-