org.apache.wiki.xmlrpc
Class RPCHandler
java.lang.Object
org.apache.wiki.xmlrpc.AbstractRPCHandler
org.apache.wiki.xmlrpc.RPCHandler
- All Implemented Interfaces:
- WikiRPCHandler
public class RPCHandler
- extends AbstractRPCHandler
Provides handlers for all RPC routines.
- Since:
- 1.6.6
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RPCHandler
public RPCHandler()
initialize
public void initialize(WikiContext ctx)
-
- Specified by:
initialize
in interface WikiRPCHandler
- Overrides:
initialize
in class AbstractRPCHandler
getApplicationName
public String getApplicationName()
getAllPages
public Vector getAllPages()
encodeWikiPage
protected Hashtable<String,Object> encodeWikiPage(WikiPage page)
- Encodes a single wiki page info into a Hashtable.
- Specified by:
encodeWikiPage
in class AbstractRPCHandler
getRecentChanges
public Vector getRecentChanges(Date since)
- Overrides:
getRecentChanges
in class AbstractRPCHandler
getPageInfo
public Hashtable getPageInfo(String pagename)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
getPageInfoVersion
public Hashtable getPageInfoVersion(String pagename,
int version)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
getPage
public byte[] getPage(String pagename)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
getPageVersion
public byte[] getPageVersion(String pagename,
int version)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
getPageHTML
public byte[] getPageHTML(String pagename)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
getPageHTMLVersion
public byte[] getPageHTMLVersion(String pagename,
int version)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
listLinks
public Vector listLinks(String pagename)
throws org.apache.xmlrpc.XmlRpcException
- Throws:
org.apache.xmlrpc.XmlRpcException
Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.