|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(org.apache.xmlrpc.XmlRpcRequest pRequest)
Performs the given request. |
org.apache.xmlrpc.XmlRpcConfig |
getConfig()
|
protected org.apache.xmlrpc.common.XmlRpcWorkerFactory |
getDefaultXmlRpcWorkerFactory()
|
XmlRpcHandlerMapping |
getHandlerMapping()
Returns the servers handler mapping. |
org.apache.xmlrpc.common.TypeConverterFactory |
getTypeConverterFactory()
|
void |
setConfig(XmlRpcServerConfig pConfig)
Sets the servers configuration. |
void |
setHandlerMapping(XmlRpcHandlerMapping pMapping)
Sets the servers handler mapping. |
void |
setTypeConverterFactory(org.apache.xmlrpc.common.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 org.apache.xmlrpc.common.XmlRpcWorkerFactory getDefaultXmlRpcWorkerFactory()
getDefaultXmlRpcWorkerFactory in class org.apache.xmlrpc.common.XmlRpcControllerpublic void setTypeConverterFactory(org.apache.xmlrpc.common.TypeConverterFactory pFactory)
TypeConverterFactory.
public org.apache.xmlrpc.common.TypeConverterFactory getTypeConverterFactory()
getTypeConverterFactory in interface org.apache.xmlrpc.common.XmlRpcRequestProcessorpublic void setConfig(XmlRpcServerConfig pConfig)
pConfig - The new server configuration.public org.apache.xmlrpc.XmlRpcConfig getConfig()
getConfig in class org.apache.xmlrpc.common.XmlRpcControllerpublic void setHandlerMapping(XmlRpcHandlerMapping pMapping)
pMapping - The servers handler mapping.public XmlRpcHandlerMapping getHandlerMapping()
public java.lang.Object execute(org.apache.xmlrpc.XmlRpcRequest pRequest)
throws org.apache.xmlrpc.XmlRpcException
execute in interface org.apache.xmlrpc.common.XmlRpcRequestProcessorpRequest - The request being executed.
org.apache.xmlrpc.XmlRpcException - The request failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||