getMaxHTTPRequests

int session.getMaxHTTPRequests ( ) (professional and enterprise editions only)

Description

Retrieve the number of attempts that scrapeable files should make to get the requested page.

Parameters

This method does not receive any parameters.

Return Values

Returns the number of attempts that will be made, as a integer.

Change Log

Version Description
5.0 Available for all editions.

Examples

Retrieve the Retry Value

// Write retries to log
session.log( "Retries per file: " + session.getMaxHTTPRequests() );

See Also

  • setMaxHTTPRequests() [session] - Sets the number of attempts a scrapeable file will make to get the requested page