public class JspServletWrapper extends Object
| Constructor | Description |
|---|---|
JspServletWrapper(javax.servlet.ServletContext servletContext,
Options options,
String tagFilePath,
javax.servlet.jsp.tagext.TagInfo tagInfo,
JspRuntimeContext rctxt,
URL tagFileJarUrl) |
| Modifier and Type | Method | 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() |
|
javax.servlet.Servlet |
getServlet() |
|
long |
getServletClassLastModifiedTime() |
Gets the last-modified time of the servlet class file associated with
this JspServletWrapper.
|
javax.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(javax.servlet.http.HttpServletRequest request,
javax.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(javax.servlet.ServletContext servletContext,
Options options,
String tagFilePath,
javax.servlet.jsp.tagext.TagInfo tagInfo,
JspRuntimeContext rctxt,
URL tagFileJarUrl)
throws JasperException
JasperExceptionpublic JspCompilationContext getJspEngineContext()
public void setReload(boolean reload)
public javax.servlet.Servlet getServlet()
throws javax.servlet.ServletException,
IOException,
ClassNotFoundException
javax.servlet.ServletExceptionIOExceptionClassNotFoundExceptionpublic javax.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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean precompile)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletExceptionIOExceptionpublic void destroy()
public long getLastModificationTest()
public void setLastModificationTest(long lastModificationTest)
lastModificationTest - The lastModificationTest to set.public File getJspFile()
Copyright © 2019 Oracle. All rights reserved.