getAuthenticationPreemptive

boolean scrapeableFile.getAuthenticationPreemptive ( )

Description

Retrieve the authentication expectation of the request.

Parameters

This method does not receive any parameters.

Return Values

Returns whether the scrapeable file expects to have to authenticate and so will send the information initially instead of waiting for the request for it, as a boolean.

Change Log

Version Description
5.0 Available for all editions.

Examples

Write Expectation Status to Log

// Log expectation of authentication
if ( scrapeableFile.getAuthenticationPreemptive() )
{
    session.log( "Expecting Authentication" );
}

See Also