|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.SystemHandler
public class SystemHandler
Wraps calls to the XML-RPC standard system.* methods (such as
system.multicall
).
Constructor Summary | |
---|---|
|
SystemHandler()
Creates a new instance. |
|
SystemHandler(XmlRpcHandlerMapping handlerMapping)
Deprecated. use new SystemHandler() and addDefaultSystemHandlers() instead. |
protected |
SystemHandler(XmlRpcServer server)
Deprecated. use new SystemHandler() and addDefaultSystemHandlers() instead. |
Method Summary | |
---|---|
void |
addDefaultSystemHandlers()
Add the default system handlers. |
void |
addSystemHandler(java.lang.String handlerName,
ContextXmlRpcHandler handler)
|
java.lang.Object |
execute(java.lang.String method,
java.util.Vector params,
XmlRpcContext context)
Execute a <ignored>. |
void |
removeSystemHandler(java.lang.String handlerName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemHandler()
public SystemHandler(XmlRpcHandlerMapping handlerMapping)
XmlRpcHandlerMapping
. This
method will add the system.multicall handler when a non-null
handlerMapping is specified. The value itself is ignored.
protected SystemHandler(XmlRpcServer server)
XmlRpcServer
.
This method will add the default handlers when the specfied server's
getHandlerMapping() returns a non-null handler mapping.
server
- The server to retrieve the XmlRpcHandlerMapping from.Method Detail |
---|
public void addDefaultSystemHandlers()
public void addSystemHandler(java.lang.String handlerName, ContextXmlRpcHandler handler)
DefaultHandlerMapping.addHandler(String, Object)
public void removeSystemHandler(java.lang.String handlerName)
DefaultHandlerMapping.removeHandler(String)
public java.lang.Object execute(java.lang.String method, java.util.Vector params, XmlRpcContext context) throws java.lang.Exception
execute
in interface ContextXmlRpcHandler
AuthenticationFailed
- If authentication fails, an
exception of this type must be thrown.
java.lang.Exception
AuthenticationFailed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |