| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
HttpServletorg.apache.xmlrpc.webserver.XmlRpcServletpublic class XmlRpcServletextends HttpServletnewXmlRpcHandlerMapping().
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,
ServletExceptionCreates a new instance ofRequestDatafor 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 ServletExceptionpublic void log(String pMessage)
public void log(String pMessage,
Throwable pThrowable)protected PropertyHandlerMapping newPropertyHandlerMapping(URL url) throws IOException, XmlRpcException
Creates a new instance ofPropertyHandlerMappingby 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 invokenewXmlRpcServer.
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.