public class Handler
extends javax.servlet.http.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(javax.servlet.ServletConfig servletConfig)
Sets instance variables.
|
static void |
log(Handler handler,
String msg) |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Provides PHP Gateway service
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
Modified from Craig R. McClanahan's InvokerServlet
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - a ServletConfig object
containing the servlet's
configuration and initialization
parametersjavax.servlet.ServletException - if an exception has occurred that
interferes with the servlet's normal
operationpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletreq - HttpServletRequest passed in by servlet containerres - HttpServletResponse passed in by servlet containerjavax.servlet.ServletException - if a servlet-specific exception occursIOException - if a read/write exception occursHttpServletCopyright © 2016 JBoss by Red Hat. All rights reserved.