getDefaultRetryPolicy

RetryPolicy session.getDefaultRetryPolicy ( ) (professional and enterprise editions only)

Description

Gets the default retry policy to be used by each scrapeable file when one wasn't set for it.

Parameters

This method takes no parameters

Return Value

The default return policy, or null if there isn't one

Change Log

Version Description
5.5.29a Available in professional and enterprise editions.

Examples

Check for a default RetryPolicy

 if(session.getDefaultRetryPolicy() == null)
 {
   session.logWarn("No default retry policy specified");
 }