Uses of Interface
jakarta.servlet.ServletContext
Packages that use ServletContext
Package
Description
-
Uses of ServletContext in jakarta.servlet
Methods in jakarta.servlet that return ServletContextModifier and TypeMethodDescriptionServletContext.getContext(String uripath) Returns aServletContextobject that corresponds to a specified URL on the server.FilterConfig.getServletContext()Returns a reference to theServletContextin which the caller is executing.GenericFilter.getServletContext()GenericServlet.getServletContext()Returns a reference to theServletContextin which this servlet is running.ServletConfig.getServletContext()Returns a reference to theServletContextin which the caller is executing.ServletContextEvent.getServletContext()Return the ServletContext that changed.ServletRequest.getServletContext()ServletRequestEvent.getServletContext()Get the associated ServletContext.ServletRequestWrapper.getServletContext()The default behavior of this method is to return getServletContext() on the wrapped request object.Methods in jakarta.servlet with parameters of type ServletContextModifier and TypeMethodDescriptionvoidAsyncContext.dispatch(ServletContext context, String path) voidServletContainerInitializer.onStartup(Set<Class<?>> c, ServletContext ctx) Receives notification during startup of a web application of the classes within the web application that matched the criteria defined via theHandlesTypesannotation.Constructors in jakarta.servlet with parameters of type ServletContextModifierConstructorDescriptionServletContextAttributeEvent(ServletContext source, String name, Object value) Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value.ServletContextEvent(ServletContext source) Construct a ServletContextEvent from the given context.ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, String name, Object value) Construct a ServletRequestAttributeEvent giving the servlet context of this web application, the ServletRequest whose attributes are changing and the name and value of the attribute.ServletRequestEvent(ServletContext sc, ServletRequest request) Construct a ServletRequestEvent for the given ServletContext and ServletRequest. -
Uses of ServletContext in jakarta.servlet.http
Methods in jakarta.servlet.http that return ServletContextModifier and TypeMethodDescriptionHttpSession.getServletContext()Returns the ServletContext to which this session belongs. -
Uses of ServletContext in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that return ServletContextModifier and TypeMethodDescriptionabstract ServletContextPageContext.getServletContext()The ServletContext instance.Methods in jakarta.servlet.jsp with parameters of type ServletContextModifier and TypeMethodDescriptionabstract JspApplicationContextJspFactory.getJspApplicationContext(ServletContext context) Obtain theJspApplicationContextinstance that was associated within the passedServletContextfor this web application. -
Uses of ServletContext in org.apache.jasper
Methods in org.apache.jasper that return ServletContextConstructors in org.apache.jasper with parameters of type ServletContextModifierConstructorDescriptionEmbeddedServletOptions(ServletConfig config, ServletContext context) Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.JspCompilationContext(String tagfile, TagInfo tagInfo, Options options, ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt, Jar tagJar) JspCompilationContext(String jspUri, Options options, ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt) -
Uses of ServletContext in org.apache.jasper.compiler
Methods in org.apache.jasper.compiler with parameters of type ServletContextModifier and TypeMethodDescriptionstatic ELInterpreterELInterpreterFactory.getELInterpreter(ServletContext context) Obtain the correct EL Interpreter for the given web application.static TldCacheTldCache.getInstance(ServletContext servletContext) static JarScannerJarScannerFactory.getJarScanner(ServletContext ctxt) Obtain theJarScannerassociated with the specifiedServletContext.static StringInterpreterStringInterpreterFactory.getStringInterpreter(ServletContext context) Obtain the correct String Interpreter for the given web application.Constructors in org.apache.jasper.compiler with parameters of type ServletContextModifierConstructorDescriptionJspConfig(ServletContext ctxt) JspRuntimeContext(ServletContext context, Options options) Create a JspRuntimeContext for a web application context.TldCache(ServletContext servletContext, Map<String, TldResourcePath> uriTldResourcePathMap, Map<TldResourcePath, TaglibXml> tldResourcePathTaglibXmlMap) -
Uses of ServletContext in org.apache.jasper.runtime
Methods in org.apache.jasper.runtime that return ServletContextModifier and TypeMethodDescriptionJspContextWrapper.getServletContext()PageContextImpl.getServletContext()Methods in org.apache.jasper.runtime with parameters of type ServletContextModifier and TypeMethodDescriptionstatic JspApplicationContextImplJspApplicationContextImpl.getInstance(ServletContext context) JspFactoryImpl.getJspApplicationContext(ServletContext context) -
Uses of ServletContext in org.apache.jasper.servlet
Classes in org.apache.jasper.servlet that implement ServletContextModifier and TypeClassDescriptionclassSimpleServletContextimplementation without HTTP-specific methods.Methods in org.apache.jasper.servlet that return ServletContextModifier and TypeMethodDescriptionJspCServletContext.getContext(String uripath) Return the servlet context for the specified path.JspServletWrapper.getServletContext()Methods in org.apache.jasper.servlet with parameters of type ServletContextModifier and TypeMethodDescriptionprotected TldScannerJasperInitializer.newTldScanner(ServletContext context, boolean namespaceAware, boolean validate, boolean blockExternal) voidJasperInitializer.onStartup(Set<Class<?>> types, ServletContext context) Constructors in org.apache.jasper.servlet with parameters of type ServletContextModifierConstructorDescriptionJspServletWrapper(ServletContext servletContext, Options options, String tagFilePath, TagInfo tagInfo, JspRuntimeContext rctxt, Jar tagJar) TldPreScanned(ServletContext context, boolean namespaceAware, boolean validation, boolean blockExternal, Collection<URL> preScannedTlds) TldScanner(ServletContext context, boolean namespaceAware, boolean validation, boolean blockExternal) Initialise with the application's ServletContext. -
Uses of ServletContext in org.apache.tomcat
Methods in org.apache.tomcat with parameters of type ServletContextModifier and TypeMethodDescriptionvoidJarScanner.scan(JarScanType scanType, ServletContext context, JarScannerCallback callback) Scan the provided ServletContext and classloader for JAR files.