getSession
ScrapingSession extractorPatternEventData.getSession ( )
Description
Returns the Session value for the object.
Parameters
This method does not receive any parameters.
Return Values
Returns the Session value for the object.
Change Log
Version | Description |
---|---|
6.0.55a | Available for all editions. |
Examples
Get the current Session.
public Object handleEvent(EventFireTime fireTime, ExtractorPatternEventData data) {
ScrapingSession _session = data.getSession();
// do something
}
ScrapingSession _session = data.getSession();
// do something
}
samt on 03/10/2016 at 5:58 pm
- Printer-friendly version
- Login or register to post comments