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, service
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
Modified from Craig R. McClanahan's InvokerServlet
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- 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.Servlet
destroy
in class javax.servlet.GenericServlet
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
req
- 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 occursHttpServlet
Copyright © 2016 JBoss by Red Hat. All rights reserved.