public class XmlRpcServer extends XmlRpcController implements XmlRpcRequestProcessor
XmlRpcRequest
from
a transport.Modifier and Type | Field and Description |
---|---|
private XmlRpcServerConfig |
config |
private XmlRpcHandlerMapping |
handlerMapping |
private TypeConverterFactory |
typeConverterFactory |
Constructor and Description |
---|
XmlRpcServer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(XmlRpcRequest pRequest)
Performs the given request.
|
XmlRpcConfig |
getConfig()
Returns the controllers default configuration.
|
protected XmlRpcWorkerFactory |
getDefaultXmlRpcWorkerFactory()
Creates the controllers default worker factory.
|
XmlRpcHandlerMapping |
getHandlerMapping()
Returns the servers handler mapping.
|
TypeConverterFactory |
getTypeConverterFactory()
Returns the request processors
TypeConverterFactory . |
void |
setConfig(XmlRpcServerConfig pConfig)
Sets the servers configuration.
|
void |
setHandlerMapping(XmlRpcHandlerMapping pMapping)
Sets the servers handler mapping.
|
void |
setTypeConverterFactory(TypeConverterFactory pFactory)
Sets the servers
TypeConverterFactory . |
getMaxThreads, getTypeFactory, getWorkerFactory, setMaxThreads, setTypeFactory, setWorkerFactory
private XmlRpcHandlerMapping handlerMapping
private TypeConverterFactory typeConverterFactory
private XmlRpcServerConfig config
protected XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory()
XmlRpcController
getDefaultXmlRpcWorkerFactory
in class XmlRpcController
public void setTypeConverterFactory(TypeConverterFactory pFactory)
TypeConverterFactory
.public TypeConverterFactory getTypeConverterFactory()
XmlRpcRequestProcessor
TypeConverterFactory
.getTypeConverterFactory
in interface XmlRpcRequestProcessor
public void setConfig(XmlRpcServerConfig pConfig)
pConfig
- The new server configuration.public XmlRpcConfig getConfig()
XmlRpcController
getConfig
in class XmlRpcController
public void setHandlerMapping(XmlRpcHandlerMapping pMapping)
pMapping
- The servers handler mapping.public XmlRpcHandlerMapping getHandlerMapping()
public java.lang.Object execute(XmlRpcRequest pRequest) throws XmlRpcException
execute
in interface XmlRpcRequestProcessor
pRequest
- The request being executed.XmlRpcException
- The request failed.