Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.catalina.ssi.SSIServletExternalResolver
Nested Class Summary | |
protected class |
Field Summary | |
protected String[] | |
protected int | |
protected boolean | |
protected HttpServletRequest | |
protected HttpServletResponse | |
protected HttpServlet |
Constructor Summary | |
|
Method Summary | |
void |
|
protected String |
|
protected String |
|
Date | |
long |
|
long |
|
String |
|
protected String |
|
protected String |
|
protected Object |
|
protected SSIServletExternalResolver.ServletContextAndPath |
|
protected SSIServletExternalResolver.ServletContextAndPath |
|
protected SSIServletExternalResolver.ServletContextAndPath |
|
protected URLConnection |
|
String |
|
protected boolean |
|
protected boolean |
|
void |
|
protected String |
|
void |
|
protected final String[] VARIABLE_NAMES
protected int debug
protected boolean isVirtualWebappRelative
protected HttpServletRequest req
protected HttpServletResponse res
protected HttpServlet servlet
public SSIServletExternalResolver(HttpServlet servlet, HttpServletRequest req, HttpServletResponse res, boolean isVirtualWebappRelative, int debug)
public void addVariableNames(Collection variableNames)
- Specified by:
- addVariableNames in interface SSIExternalResolver
protected String getAbsolutePath(String path) throws IOException
protected String getCGIVariable(String name)
public Date getCurrentDate()
- Specified by:
- getCurrentDate in interface SSIExternalResolver
public long getFileLastModified(String path, boolean virtual) throws IOException
- Specified by:
- getFileLastModified in interface SSIExternalResolver
public long getFileSize(String path, boolean virtual) throws IOException
- Specified by:
- getFileSize in interface SSIExternalResolver
public String getFileText(String originalPath, boolean virtual) throws IOException
- Specified by:
- getFileText in interface SSIExternalResolver
protected String getPathWithoutContext(String servletPath)
protected String getPathWithoutFileName(String servletPath)
protected Object getReqAttributeIgnoreCase(String targetName)
protected SSIServletExternalResolver.ServletContextAndPath getServletContextAndPath(String originalPath, boolean virtual) throws IOException
protected SSIServletExternalResolver.ServletContextAndPath getServletContextAndPathFromNonVirtualPath(String nonVirtualPath) throws IOException
protected SSIServletExternalResolver.ServletContextAndPath getServletContextAndPathFromVirtualPath(String virtualPath) throws IOException
protected URLConnection getURLConnection(String originalPath, boolean virtual) throws IOException
public String getVariableValue(String name)
- Specified by:
- getVariableValue in interface SSIExternalResolver
protected boolean isNameReserved(String name)
protected boolean isRootContext(ServletContext servletContext)
public void log(String message, Throwable throwable)
- Specified by:
- log in interface SSIExternalResolver
protected String nullToEmptyString(String string)
public void setVariableValue(String name, String value)
- Specified by:
- setVariableValue in interface SSIExternalResolver