public class XmlRpcServer extends XmlRpcController implements XmlRpcRequestProcessor
XmlRpcRequest
from
a transport.Constructor and Description |
---|
XmlRpcServer() |
Modifier and Type | Method and Description |
---|---|
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
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 Object execute(XmlRpcRequest pRequest) throws XmlRpcException
execute
in interface XmlRpcRequestProcessor
pRequest
- The request being executed.XmlRpcException
- The request failed.Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.