public class JspServletWrapper extends Object
| Constructor and Description |
|---|
JspServletWrapper(jakarta.servlet.ServletContext servletContext,
Options options,
String tagFilePath,
jakarta.servlet.jsp.tagext.TagInfo tagInfo,
JspRuntimeContext rctxt,
URL tagFileJarUrl) |
| Modifier and Type | Method and Description |
|---|---|
int |
decTripCount() |
void |
destroy() |
List<String> |
getDependants()
Get a list of files that the current page has source dependency on.
|
JspCompilationContext |
getJspEngineContext() |
File |
getJspFile() |
long |
getLastModificationTest() |
jakarta.servlet.Servlet |
getServlet() |
long |
getServletClassLastModifiedTime()
Gets the last-modified time of the servlet class file associated with
this JspServletWrapper.
|
jakarta.servlet.ServletContext |
getServletContext() |
int |
incTripCount() |
boolean |
isTagFile() |
Class |
loadTagFile()
Compile (if needed) and load a tag file
|
Class |
loadTagFilePrototype()
Compile and load a prototype for the Tag file.
|
void |
service(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response,
boolean precompile) |
void |
setCompilationException(JasperException je)
Sets the compilation exception for this JspServletWrapper.
|
void |
setLastModificationTest(long lastModificationTest) |
void |
setReload(boolean reload) |
void |
setServletClassLastModifiedTime(long lastModified)
Sets the last-modified time of the servlet class file associated with
this JspServletWrapper.
|
public JspServletWrapper(jakarta.servlet.ServletContext servletContext,
Options options,
String tagFilePath,
jakarta.servlet.jsp.tagext.TagInfo tagInfo,
JspRuntimeContext rctxt,
URL tagFileJarUrl)
throws JasperException
JasperExceptionpublic JspCompilationContext getJspEngineContext()
public void setReload(boolean reload)
public jakarta.servlet.Servlet getServlet()
throws jakarta.servlet.ServletException,
IOException,
ClassNotFoundException
jakarta.servlet.ServletExceptionIOExceptionClassNotFoundExceptionpublic jakarta.servlet.ServletContext getServletContext()
public void setCompilationException(JasperException je)
je - The compilation exceptionpublic void setServletClassLastModifiedTime(long lastModified)
lastModified - Last-modified time of servlet classpublic long getServletClassLastModifiedTime()
public Class loadTagFile() throws JasperException
JasperExceptionpublic Class loadTagFilePrototype() throws JasperException
JasperExceptionpublic List<String> getDependants()
public boolean isTagFile()
public int incTripCount()
public int decTripCount()
public void service(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response,
boolean precompile)
throws jakarta.servlet.ServletException,
IOException
jakarta.servlet.ServletExceptionIOExceptionpublic void destroy()
public long getLastModificationTest()
public void setLastModificationTest(long lastModificationTest)
lastModificationTest - The lastModificationTest to set.public File getJspFile()
Comments to: el-dev@eclipse.org.
Copyright © 2018, 2020 Eclipse Foundation. All rights reserved.
Use is subject to license terms.