org.apache.xmlrpc
public class DefaultHandlerMapping extends Object implements XmlRpcHandlerMapping
Since: 1.2
See Also: XmlRpcServer
| Field Summary | |
|---|---|
| Hashtable | handlers |
| Constructor Summary | |
|---|---|
| DefaultHandlerMapping()
Create a new mapping. | |
| Method Summary | |
|---|---|
| void | addHandler(String handlerName, Object handler)
Register a handler object with this name. |
| Object | getHandler(String methodName)
Find the handler and its method name for a given method.
|
| void | removeHandler(String handlerName)
Remove a handler object that was previously registered with
this server.
|
Parameters: handlername The name to identify the handler by. handler The handler itself.
XmlRpcHandlerMapping interface.
Parameters: methodName The name of the XML-RPC method to find a handler for (this is not the Java method name).
Returns: A handler object and method name.
See Also: getHandler
Parameters: handlerName The name identifying the handler to remove.