| Package | Description |
|---|---|
| jakarta.servlet | |
| jakarta.servlet.http | |
| jakarta.servlet.jsp | |
| org.apache.jasper | |
| org.apache.jasper.compiler | |
| org.apache.jasper.runtime | |
| org.apache.jasper.servlet | |
| org.apache.tomcat |
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
ServletContext.getContext(java.lang.String uripath)
Returns a
ServletContext object that corresponds to a
specified URL on the server. |
ServletContext |
ServletRequest.getServletContext() |
ServletContext |
GenericServlet.getServletContext()
Returns a reference to the
ServletContext in which this servlet
is running. |
ServletContext |
ServletConfig.getServletContext()
Returns a reference to the
ServletContext in which the caller is
executing. |
ServletContext |
GenericFilter.getServletContext() |
ServletContext |
ServletRequestEvent.getServletContext()
Get the associated ServletContext.
|
ServletContext |
ServletContextEvent.getServletContext()
Return the ServletContext that changed.
|
ServletContext |
ServletRequestWrapper.getServletContext()
The default behavior of this method is to return getServletContext() on
the wrapped request object.
|
ServletContext |
FilterConfig.getServletContext()
Returns a reference to the
ServletContext in which the caller is
executing. |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncContext.dispatch(ServletContext context,
java.lang.String path) |
void |
ServletContainerInitializer.onStartup(java.util.Set<java.lang.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 the
HandlesTypes annotation. |
| Constructor and Description |
|---|
ServletContextAttributeEvent(ServletContext source,
java.lang.String name,
java.lang.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,
java.lang.String name,
java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
HttpSession.getServletContext()
Returns the ServletContext to which this session belongs.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ServletContext |
PageContext.getServletContext()
The ServletContext instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract JspApplicationContext |
JspFactory.getJspApplicationContext(ServletContext context)
Obtain the
JspApplicationContext instance that was
associated within the passed ServletContext for this web
application. |
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
JspCompilationContext.getServletContext() |
| Constructor and Description |
|---|
EmbeddedServletOptions(ServletConfig config,
ServletContext context)
Create an EmbeddedServletOptions object using data available from
ServletConfig and ServletContext.
|
JspCompilationContext(java.lang.String jspUri,
Options options,
ServletContext context,
JspServletWrapper jsw,
JspRuntimeContext rctxt) |
JspCompilationContext(java.lang.String tagfile,
TagInfo tagInfo,
Options options,
ServletContext context,
JspServletWrapper jsw,
JspRuntimeContext rctxt,
Jar tagJar) |
| Modifier and Type | Method and Description |
|---|---|
static ELInterpreter |
ELInterpreterFactory.getELInterpreter(ServletContext context)
Obtain the correct EL Interpreter for the given web application.
|
static TldCache |
TldCache.getInstance(ServletContext servletContext) |
static JarScanner |
JarScannerFactory.getJarScanner(ServletContext ctxt)
Obtain the
JarScanner associated with the specified ServletContext. |
static StringInterpreter |
StringInterpreterFactory.getStringInterpreter(ServletContext context)
Obtain the correct String Interpreter for the given web application.
|
| Constructor and Description |
|---|
JspConfig(ServletContext ctxt) |
JspRuntimeContext(ServletContext context,
Options options)
Create a JspRuntimeContext for a web application context.
|
TagPluginManager(ServletContext ctxt) |
TldCache(ServletContext servletContext,
java.util.Map<java.lang.String,TldResourcePath> uriTldResourcePathMap,
java.util.Map<TldResourcePath,TaglibXml> tldResourcePathTaglibXmlMap) |
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
PageContextImpl.getServletContext() |
ServletContext |
JspContextWrapper.getServletContext() |
| Modifier and Type | Method and Description |
|---|---|
static JspApplicationContextImpl |
JspApplicationContextImpl.getInstance(ServletContext context) |
JspApplicationContext |
JspFactoryImpl.getJspApplicationContext(ServletContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
JspCServletContext
Simple
ServletContext implementation without
HTTP-specific methods. |
| Modifier and Type | Method and Description |
|---|---|
ServletContext |
JspCServletContext.getContext(java.lang.String uripath)
Return the servlet context for the specified path.
|
ServletContext |
JspServletWrapper.getServletContext() |
| Modifier and Type | Method and Description |
|---|---|
protected TldScanner |
JasperInitializer.newTldScanner(ServletContext context,
boolean namespaceAware,
boolean validate,
boolean blockExternal) |
void |
JasperInitializer.onStartup(java.util.Set<java.lang.Class<?>> types,
ServletContext context) |
| Constructor and Description |
|---|
JspServletWrapper(ServletContext servletContext,
Options options,
java.lang.String tagFilePath,
TagInfo tagInfo,
JspRuntimeContext rctxt,
Jar tagJar) |
TldPreScanned(ServletContext context,
boolean namespaceAware,
boolean validation,
boolean blockExternal,
java.util.Collection<java.net.URL> preScannedTlds) |
TldScanner(ServletContext context,
boolean namespaceAware,
boolean validation,
boolean blockExternal)
Initialise with the application's ServletContext.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JarScanner.scan(JarScanType scanType,
ServletContext context,
JarScannerCallback callback)
Scan the provided ServletContext and classloader for JAR files.
|
Copyright © 2014–2021. All rights reserved.