org.apache.catalina.ssi
public class SSIServlet extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowExec
Allow exec (normally blocked for security)
|
protected boolean |
buffered
Should the output be buffered.
|
protected int |
debug
Debug level for this servlet.
|
protected java.lang.Long |
expires
Expiration time in seconds for the doc.
|
protected java.lang.String |
inputEncoding
Input encoding.
|
protected boolean |
isVirtualWebappRelative
virtual path can be webapp-relative
|
protected java.lang.String |
outputEncoding
Output encoding.
|
| Constructor and Description |
|---|
SSIServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process and forward the GET request to our
requestHandler()* |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process and forward the POST request to our
requestHandler(). |
void |
init()
Initialize this servlet.
|
protected void |
processSSI(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.net.URL resource) |
protected void |
requestHandler(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process our request and locate right SSI command.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected int debug
protected boolean buffered
protected java.lang.Long expires
protected boolean isVirtualWebappRelative
protected java.lang.String inputEncoding
protected java.lang.String outputEncoding
protected boolean allowExec
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletException - if an error occurspublic void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
requestHandler()*doGet in class javax.servlet.http.HttpServletreq - a value of type 'HttpServletRequest'res - a value of type 'HttpServletResponse'java.io.IOException - if an error occursjavax.servlet.ServletException - if an error occursServletResponse.setContentType(java.lang.String)public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
requestHandler().doPost in class javax.servlet.http.HttpServletreq - a value of type 'HttpServletRequest'res - a value of type 'HttpServletResponse'java.io.IOException - if an error occursjavax.servlet.ServletException - if an error occursServletOutputStream,
ServletResponse.setContentType(java.lang.String)protected void requestHandler(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
req - a value of type 'HttpServletRequest'res - a value of type 'HttpServletResponse'java.io.IOExceptionjavax.servlet.ServletExceptionprotected void processSSI(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.net.URL resource)
throws java.io.IOException
java.io.IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.