org.apache.xmlrpc.webserver
public class XmlRpcServlet extends HttpServlet
A default servlet implementation The typical use would be to derive a subclass, which is overwriting at least the method newXmlRpcHandlerMapping.
The servlet accepts the following init parameters:
Name | Description |
---|---|
enabledForExtensions | Sets the value isEnabledForExtensions to true. |
Method Summary | |
---|---|
void | doPost(HttpServletRequest pRequest, HttpServletResponse pResponse) Creates a new instance of RequestData
for the request. |
XmlRpcServletServer | getXmlRpcServletServer() Returns the servlets instance of XmlRpcServletServer. |
void | init(ServletConfig pConfig) |
void | log(String pMessage, Throwable pThrowable) |
void | log(String pMessage) |
protected PropertyHandlerMapping | newPropertyHandlerMapping(URL url) Creates a new instance of PropertyHandlerMapping by
loading the property file from the given URL. |
protected XmlRpcHandlerMapping | newXmlRpcHandlerMapping() Creates a new handler mapping. |
protected XmlRpcServletServer | newXmlRpcServer(ServletConfig pConfig) Creates a new instance of XmlRpcServer,
which is being used to process the requests. |
Returns: The configurable instance of XmlRpcServletServer.
org/apache/xmlrpc/webserver/XmlRpcServlet.properties
new XmlRpcServer.