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