Package net.sf.jasperreports.chrome
Class BrowserService
- java.lang.Object
-
- net.sf.jasperreports.chrome.BrowserService
-
public class BrowserService extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_PAGE_ISOLATE
static String
PROPERTY_PAGE_TIMEOUT
-
Constructor Summary
Constructors Constructor Description BrowserService(JasperReportsContext jasperReportsContext, ChromeServiceHandle chromeServiceHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
consoleEvent(com.github.kklisura.cdt.protocol.events.runtime.ConsoleAPICalled event)
<T> T
evaluateInPage(String pageURL, PageOptions options, ChromePageEvaluation<T> evaluation)
protected boolean
isolate(PageOptions options)
protected void
pageExceptionEvent(com.github.kklisura.cdt.protocol.events.runtime.ExceptionThrown event)
protected void
pageLogEvent(com.github.kklisura.cdt.protocol.events.log.EntryAdded event)
protected Long
pageTimeout(PageOptions options)
protected void
setScreenDimensions(PageOptions options, com.github.kklisura.cdt.services.ChromeDevToolsService devToolsService)
-
-
-
Field Detail
-
PROPERTY_PAGE_TIMEOUT
public static final String PROPERTY_PAGE_TIMEOUT
- See Also:
- Constant Field Values
-
PROPERTY_PAGE_ISOLATE
public static final String PROPERTY_PAGE_ISOLATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BrowserService
public BrowserService(JasperReportsContext jasperReportsContext, ChromeServiceHandle chromeServiceHandle)
-
-
Method Detail
-
evaluateInPage
public <T> T evaluateInPage(String pageURL, PageOptions options, ChromePageEvaluation<T> evaluation)
-
isolate
protected boolean isolate(PageOptions options)
-
setScreenDimensions
protected void setScreenDimensions(PageOptions options, com.github.kklisura.cdt.services.ChromeDevToolsService devToolsService)
-
pageTimeout
protected Long pageTimeout(PageOptions options)
-
pageLogEvent
protected void pageLogEvent(com.github.kklisura.cdt.protocol.events.log.EntryAdded event)
-
consoleEvent
protected void consoleEvent(com.github.kklisura.cdt.protocol.events.runtime.ConsoleAPICalled event)
-
pageExceptionEvent
protected void pageExceptionEvent(com.github.kklisura.cdt.protocol.events.runtime.ExceptionThrown event)
-
-