org.apache.xmlrpc
public class SystemHandler extends Object implements ContextXmlRpcHandler
system.multicall).
Since: 1.2
| Field Summary | |
|---|---|
| DefaultHandlerMapping | systemMapping |
| Constructor Summary | |
|---|---|
| SystemHandler()
Creates a new instance. | |
| SystemHandler(XmlRpcHandlerMapping handlerMapping)
Creates a new instance that delegates calls via the
specified XmlRpcHandlerMapping. | |
| protected | SystemHandler(XmlRpcServer server)
Creates a new instance that delegates its multicalls via
the mapping used by the specified XmlRpcServer.
|
| Method Summary | |
|---|---|
| void | addDefaultSystemHandlers()
Add the default system handlers. |
| void | addSystemHandler(String handlerName, ContextXmlRpcHandler handler) |
| Object | execute(String method, Vector params, XmlRpcContext context)
Execute a <ignored>.<name> call by calling the handler for
<name> in the the system handler mapping. |
| void | removeSystemHandler(String handlerName) |
Deprecated: use new SystemHandler() and addDefaultSystemHandlers() instead.
Creates a new instance that delegates calls via the specified XmlRpcHandlerMapping. This method will add the system.multicall handler when a non-null handlerMapping is specified. The value itself is ignored.Deprecated: use new SystemHandler() and addDefaultSystemHandlers() instead.
Creates a new instance that delegates its multicalls via the mapping used by the specified XmlRpcServer. This method will add the default handlers when the specfied server's getHandlerMapping() returns a non-null handler mapping.Parameters: server The server to retrieve the XmlRpcHandlerMapping from.
See Also: DefaultHandlerMapping
See Also: removeHandler