public class Handler
extends HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
syntaxHighlight
Are doing source sysntax highlight.
|
| Constructor and Description |
|---|
Handler() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Finalize this servlet.
|
void |
init(ServletConfig servletConfig)
Sets instance variables.
|
static void |
log(Handler handler,
java.lang.String msg) |
protected void |
service(HttpServletRequest req,
HttpServletResponse res)
Provides PHP Gateway service
|
public void init(ServletConfig servletConfig)
throws ServletException
Modified from Craig R. McClanahan's InvokerServlet
config - a ServletConfig object
containing the servlet's
configuration and initialization
parametersServletException - if an exception has occurred that
interferes with the servlet's normal
operationpublic void destroy()
protected void service(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
req - HttpServletRequest passed in by servlet containerres - HttpServletResponse passed in by servlet containerServletException - if a servlet-specific exception occursjava.io.IOException - if a read/write exception occursjavax.servlet.http.HttpServletpublic static void log(Handler handler, java.lang.String msg)