|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.common.XmlRpcController org.apache.xmlrpc.server.XmlRpcServer
public class XmlRpcServer
A multithreaded, reusable XML-RPC server object. The name may
be misleading because this does not open any server sockets.
Instead it is fed by passing instances of
XmlRpcRequest
from
a transport.
Constructor Summary | |
---|---|
XmlRpcServer()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class org.apache.xmlrpc.common.XmlRpcController |
---|
getMaxThreads, getTypeFactory, getWorkerFactory, setMaxThreads, setTypeFactory, setWorkerFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcServer()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |