public class SSIServlet extends HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | allowExecAllow exec (normally blocked for security) | 
| protected boolean | bufferedShould the output be buffered. | 
| protected int | debugDebug level for this servlet. | 
| protected Long | expiresExpiration time in seconds for the doc. | 
| protected String | inputEncodingInput encoding. | 
| protected boolean | isVirtualWebappRelativevirtual path can be webapp-relative | 
| protected String | outputEncodingOutput encoding. | 
| Constructor and Description | 
|---|
| SSIServlet() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logprotected int debug
protected boolean buffered
protected Long expires
protected boolean isVirtualWebappRelative
protected String inputEncoding
protected String outputEncoding
protected boolean allowExec
public void init()
          throws ServletException
init in class GenericServletServletException - if an error occurspublic void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
requestHandler()*doGet in class HttpServletreq - a value of type 'HttpServletRequest'res - a value of type 'HttpServletResponse'IOException - if an error occursServletException - if an error occursServletResponse.setContentType(java.lang.String)public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
requestHandler().doPost in class HttpServletreq - a value of type 'HttpServletRequest'res - a value of type 'HttpServletResponse'IOException - if an error occursServletException - 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'IOExceptionprotected void processSSI(HttpServletRequest req, HttpServletResponse res, URL resource) throws IOException
IOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.