Interface IWebAppContext
- All Known Implementing Classes:
WebAppContext
public interface IWebAppContext
Interface representing the context of a web application.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.ServletContextGets the global servlet context instance of the web app.@NotNull IServletContextInfo@NotNull IWebAppDescriptor
-
Method Details
-
getServletContext
@Nullable javax.servlet.ServletContext getServletContext()Gets the global servlet context instance of the web app. May be null if the web app context is not available.- Returns:
- The global servlet context of the web app.
-
getServletContextInfo
- Returns:
- the
servlet context informationof this web app.
-
getWebAppDescriptor
- Returns:
- the
descriptorof this web app.
-