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
|
protected QuercusContext _quercus
protected ServletConfig _config
protected ServletContext _servletContext
public final void init(ServletConfig config)
throws ServletException
ServletExceptionprotected 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
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()