|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.apache.catalina.ssi.SSIServlet
public class SSIServlet
Servlet to process SSI requests within a webpage. Mapped to a path from within web.xml.
Field Summary | |
---|---|
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 Long |
expires
Expiration time in seconds for the doc. |
protected String |
inputEncoding
Input encoding. |
protected boolean |
isVirtualWebappRelative
virtual path can be webapp-relative |
protected String |
outputEncoding
Output encoding. |
Constructor Summary | |
---|---|
SSIServlet()
|
Method Summary | |
---|---|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Process and forward the GET request to our requestHandler() * |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Process and forward the POST request to our requestHandler() . |
void |
init()
Initialize this servlet. |
protected void |
processSSI(HttpServletRequest req,
HttpServletResponse res,
URL resource)
|
protected void |
requestHandler(HttpServletRequest req,
HttpServletResponse res)
Process our request and locate right SSI command. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int debug
protected boolean buffered
protected Long expires
protected boolean isVirtualWebappRelative
protected String inputEncoding
protected String outputEncoding
protected boolean allowExec
Constructor Detail |
---|
public SSIServlet()
Method Detail |
---|
public void init() throws ServletException
init
in class GenericServlet
ServletException
- if an error occurspublic void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
requestHandler()
*
doGet
in class HttpServlet
req
- a value of type 'HttpServletRequest'res
- a value of type 'HttpServletResponse'
IOException
- if an error occurs
ServletException
- if an error occursServletResponse.setContentType(java.lang.String)
public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
requestHandler()
.
doPost
in class HttpServlet
req
- a value of type 'HttpServletRequest'res
- a value of type 'HttpServletResponse'
IOException
- if an error occurs
ServletException
- if an error occursServletOutputStream
,
ServletResponse.setContentType(java.lang.String)
protected void requestHandler(HttpServletRequest req, HttpServletResponse res) throws IOException
req
- a value of type 'HttpServletRequest'res
- a value of type 'HttpServletResponse'
IOException
protected void processSSI(HttpServletRequest req, HttpServletResponse res, URL resource) throws IOException
IOException
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |