Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
HttpServlet
org.apache.xmlrpc.webserver.XmlRpcServlet
public class XmlRpcServlet
extends HttpServlet
newXmlRpcHandlerMapping()
.
The servlet accepts the following init parameters:
Name | Description |
---|---|
enabledForExtensions | Sets the value
XmlRpcConfig.isEnabledForExtensions()
to true. |
public void doPost(HttpServletRequest pRequest, HttpServletResponse pResponse) throws IOException, ServletException
Creates a new instance ofRequestData
for the request.
public AbstractReflectiveHandlerMapping.AuthenticationHandler getAuthenticationHandler()
Returns the servletsAbstractReflectiveHandlerMapping.AuthenticationHandler
.
public RequestProcessorFactoryFactory getRequestProcessorFactoryFactory()
Returns the servletsRequestProcessorFactoryFactory
.
public TypeConverterFactory getTypeConverterFactory()
Returns the servletsTypeConverterFactory
.
public XmlRpcServletServer getXmlRpcServletServer()
Returns the servlets instance ofXmlRpcServletServer
.
- Returns:
- The configurable instance of
XmlRpcServletServer
.
public void init(ServletConfig pConfig) throws ServletException
public void log(String pMessage)
public void log(String pMessage, Throwable pThrowable)
protected PropertyHandlerMapping newPropertyHandlerMapping(URL url) throws IOException, XmlRpcException
Creates a new instance ofPropertyHandlerMapping
by loading the property file from the given URL. Called fromnewXmlRpcHandlerMapping()
.
protected XmlRpcHandlerMapping newXmlRpcHandlerMapping() throws XmlRpcException
Creates a new handler mapping. The default implementation loads a property file from the resourceorg/apache/xmlrpc/webserver/XmlRpcServlet.properties
protected XmlRpcServletServer newXmlRpcServer(ServletConfig pConfig) throws XmlRpcException
Creates a new instance ofXmlRpcServer
, which is being used to process the requests. The default implementation will simply invokenew
XmlRpcServer
.
public void setAuthenticationHandler(AbstractReflectiveHandlerMapping.AuthenticationHandler pHandler)
Sets the servletsAbstractReflectiveHandlerMapping.AuthenticationHandler
.
public void setRequestProcessorFactoryFactory(RequestProcessorFactoryFactory pFactory)
Sets the servletsRequestProcessorFactoryFactory
.
public void setTypeConverterFactory(TypeConverterFactory pFactory)
Sets the servletsTypeConverterFactory
.