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 {@link #newXmlRpcHandlerMapping()}.
The servlet accepts the following init parameters:
Name | Description |
---|---|
enabledForExtensions | Sets the value {@link XmlRpcConfig#isEnabledForExtensions()} to true. |
Method Summary | |
---|---|
void | doPost(HttpServletRequest pRequest, HttpServletResponse pResponse) Creates a new instance of {@link org.apache.xmlrpc.webserver.RequestData}
for the request. |
XmlRpcServletServer | getXmlRpcServletServer() Returns the servlets instance of {@link 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 {@link 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 {@link XmlRpcServer},
which is being used to process the requests. |
Returns: The configurable instance of {@link XmlRpcServletServer}.
org/apache/xmlrpc/webserver/XmlRpcServlet.properties
new {@link XmlRpcServer}.