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, service
public 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.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.