setAuthenticationPreemptive
void scrapeableFile.setAuthenticationPreemptive ( boolean preemptiveAuthentication )
Description
Set the authentication expectation of the request.
Parameters
- preemptiveAuthentication 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.
Return Values
Returns void.
Change Log
Version | Description |
---|---|
5.0 | Available for all editions. |
Examples
Set Preemptive Authentication
// Set expectation of authentication
scrapeableFile.setAuthenticationPreemptive( false );
scrapeableFile.setAuthenticationPreemptive( false );
See Also
- getAuthenticationPreemptive() [scrapeableFile] - Gets the authentication expectation of the page
scraper on 08/11/2010 at 3:26 pm
- Printer-friendly version
- Login or register to post comments