Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.xmlrpc.common.XmlRpcController
org.apache.xmlrpc.server.XmlRpcServer
XmlRpcRequest
from
a transport.
Method Summary | |
Object |
|
XmlRpcConfig |
|
protected XmlRpcWorkerFactory |
|
XmlRpcHandlerMapping |
|
TypeConverterFactory | |
void |
|
void |
|
void |
|
Methods inherited from class org.apache.xmlrpc.common.XmlRpcController | |
getConfig , getDefaultXmlRpcWorkerFactory , getMaxThreads , getTypeFactory , getWorkerFactory , setMaxThreads , setTypeFactory , setWorkerFactory |
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException
Performs the given request.
- Specified by:
- execute in interface XmlRpcRequestProcessor
- Parameters:
pRequest
- The request being executed.
- Returns:
- The result object.
- Throws:
XmlRpcException
- The request failed.
public XmlRpcConfig getConfig()
Returns the controllers default configuration.
- Overrides:
- getConfig in interface XmlRpcController
- Returns:
- The default configuration.
protected XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory()
Creates the controllers default worker factory.
- Overrides:
- getDefaultXmlRpcWorkerFactory in interface XmlRpcController
- Returns:
- The default factory for workers.
public XmlRpcHandlerMapping getHandlerMapping()
Returns the servers handler mapping.
- Returns:
- The servers handler mapping.
public TypeConverterFactory getTypeConverterFactory()
- Specified by:
- getTypeConverterFactory in interface XmlRpcRequestProcessor
public void setConfig(XmlRpcServerConfig pConfig)
Sets the servers configuration.
- Parameters:
pConfig
- The new server configuration.
public void setHandlerMapping(XmlRpcHandlerMapping pMapping)
Sets the servers handler mapping.
- Parameters:
pMapping
- The servers handler mapping.
public void setTypeConverterFactory(TypeConverterFactory pFactory)
Sets the serversTypeConverterFactory
.