| java.lang.Object org.apache.roller.business.pings.WeblogUpdatePinger
WeblogUpdatePinger | public class WeblogUpdatePinger (Code) | | Utility for sending a weblog update ping.
This implements the WeblogUpdates.ping XML-RPC call described at
www.xmlrpc.com
as well as some variants required to interoperate with certain
buggy but popular ping targets.
author: Anil Gangolli author: llavandowska (for code refactored from the now-defunct RollerXmlRpcClient ) |
Inner Class :public static class PingResult | |
Field Summary | |
final public static Log | logger |
logger | final public static Log logger(Code) | | |
sendPing | public static PingResult sendPing(PingTargetData pingTarget, WebsiteData website) throws IOException, XmlRpcException(Code) | | Send a weblog update ping.
Parameters: pingTarget - the target site to ping Parameters: website - the website that changed (from which the ping originates) the result message string sent by the server. throws: IOException - throws: XmlRpcException - |
shouldRetry | public static boolean shouldRetry(Exception ex)(Code) | | Decide if the given exception appears to warrant later retrial attempts.
Parameters: ex - an exception thrown by the sendPing operation true if the error warrants retrial |
|
|