public class QuercusServletImpl extends HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected ServletConfig |
_config |
protected QuercusContext |
_quercus |
protected ServletContext |
_servletContext |
| Constructor and Description |
|---|
QuercusServletImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkServletAPIVersion()
Makes sure the servlet container supports Servlet API 2.4+.
|
void |
destroy()
Destroys the quercus instance.
|
protected Path |
getPath(QuercusHttpServletRequest req) |
protected QuercusContext |
getQuercus()
Returns the Quercus instance.
|
protected void |
handleThrowable(HttpServletResponse response,
java.lang.Throwable e) |
void |
init(ServletConfig config)
initialize the script manager.
|
protected void |
initImpl(ServletConfig config) |
protected WriteStream |
openWrite(HttpServletResponse response) |
void |
service(HttpServletRequest request,
HttpServletResponse response)
Service.
|
void |
setProfileProbability(double probability)
Sets the profiling mode
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toStringprotected QuercusContext _quercus
protected ServletConfig _config
protected ServletContext _servletContext
public final void init(ServletConfig config) throws ServletException
init in interface Servletinit in class GenericServletconfig - the servlet's configurationServletExceptionprotected void initImpl(ServletConfig config) throws ServletException
ServletExceptionpublic void setProfileProbability(double probability)
protected void checkServletAPIVersion()
public final void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
service in class HttpServletrequest - request informationresponse - response object for returning data to the client.ServletExceptionjava.io.IOExceptionprotected void handleThrowable(HttpServletResponse response, java.lang.Throwable e) throws java.io.IOException, ServletException
java.io.IOExceptionServletExceptionprotected WriteStream openWrite(HttpServletResponse response) throws java.io.IOException
java.io.IOExceptionprotected Path getPath(QuercusHttpServletRequest req)
protected QuercusContext getQuercus()
public void destroy()
destroy in interface Servletdestroy in class GenericServlet