|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.caucho.quercus.servlet.QuercusServletImpl
public class QuercusServletImpl
Servlet to call PHP through javax.script.
| Field Summary | |
|---|---|
protected ServletConfig |
_config
|
protected QuercusContext |
_quercus
|
protected ServletContext |
_servletContext
|
| Constructor Summary | |
|---|---|
QuercusServletImpl()
|
|
| Method Summary | |
|---|---|
protected void |
checkServletAPIVersion()
Makes sure the servlet container supports Servlet API 2.4+. |
void |
destroy()
Destroys the quercus instance. |
protected QuercusContext |
getQuercus()
Returns the Quercus instance. |
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 |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected QuercusContext _quercus
protected ServletConfig _config
protected ServletContext _servletContext
| Constructor Detail |
|---|
public QuercusServletImpl()
| Method Detail |
|---|
public final void init(ServletConfig config)
throws ServletException
init in interface Servletinit in class GenericServletconfig - the servlet's configuration
ServletException
protected void initImpl(ServletConfig config)
throws ServletException
ServletExceptionpublic void setProfileProbability(double probability)
protected void checkServletAPIVersion()
public 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.
ServletException
java.io.IOException
protected WriteStream openWrite(HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionprotected QuercusContext getQuercus()
public void destroy()
destroy in interface Servletdestroy in class GenericServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||