public class RPCServlet extends javax.servlet.http.HttpServlet
Uses two initialization parameters:
| Modifier and Type | Field and Description |
|---|---|
static String |
XMLRPC_PREFIX
This is what is appended to each command, if the handler has
not been specified.
|
| Constructor and Description |
|---|
RPCServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles HTTP GET.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle HTTP POST.
|
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet.
|
void |
initHandler(String prefix,
String handlerName) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String XMLRPC_PREFIX
public RPCServlet()
public void initHandler(String prefix, String handlerName) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionpublic void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionCopyright © 2001-2019 The Apache Software Foundation. All rights reserved.