-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized,java.lang.AutoCloseable
public final class DefaultBrowserEmulator extends BrowserEmulator
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>numDeferredNavigatesprivate final WebDriverPoolManagerdriverManagerprivate final BooleansupportAllCharsetsprivate final <ERROR CLASS>charsetPatternprivate final AtomicBooleanclosedprivate final BooleanisActiveprivate final <ERROR CLASS>meterNavigatesprivate final <ERROR CLASS>counterRequestsprivate final <ERROR CLASS>counterJsEvaluatesprivate final <ERROR CLASS>counterJsWaitsprivate final <ERROR CLASS>counterCancelsprivate final WebDriverSettingsdriverSettingsprivate final EmulateEventHandleremulateEventHandlerprivate final ImmutableConfigimmutableConfig
-
Constructor Summary
Constructors Constructor Description DefaultBrowserEmulator(WebDriverPoolManager driverPoolManager, ImmutableConfig conf)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>getNumDeferredNavigates()final WebDriverPoolManagergetDriverManager()final BooleangetSupportAllCharsets()final <ERROR CLASS>getCharsetPattern()final AtomicBooleangetClosed()final BooleangetIsActive()final <ERROR CLASS>getMeterNavigates()final <ERROR CLASS>getCounterRequests()final <ERROR CLASS>getCounterJsEvaluates()final <ERROR CLASS>getCounterJsWaits()final <ERROR CLASS>getCounterCancels()final WebDriverSettingsgetDriverSettings()final EmulateEventHandlergetEmulateEventHandler()The event handler to handle page content final ImmutableConfiggetImmutableConfig()-
Methods inherited from class ai.platon.pulsar.protocol.browser.emulator.DefaultBrowserEmulator
cancel, cancelNow, fetch -
Methods inherited from class ai.platon.pulsar.protocol.browser.emulator.BrowserEmulator
close, getParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DefaultBrowserEmulator
DefaultBrowserEmulator(WebDriverPoolManager driverPoolManager, ImmutableConfig conf)
-
-
Method Detail
-
getNumDeferredNavigates
final <ERROR CLASS> getNumDeferredNavigates()
-
getDriverManager
final WebDriverPoolManager getDriverManager()
-
getSupportAllCharsets
final Boolean getSupportAllCharsets()
-
getCharsetPattern
final <ERROR CLASS> getCharsetPattern()
-
getClosed
final AtomicBoolean getClosed()
-
getIsActive
final Boolean getIsActive()
-
getMeterNavigates
final <ERROR CLASS> getMeterNavigates()
-
getCounterRequests
final <ERROR CLASS> getCounterRequests()
-
getCounterJsEvaluates
final <ERROR CLASS> getCounterJsEvaluates()
-
getCounterJsWaits
final <ERROR CLASS> getCounterJsWaits()
-
getCounterCancels
final <ERROR CLASS> getCounterCancels()
-
getDriverSettings
final WebDriverSettings getDriverSettings()
-
getEmulateEventHandler
final EmulateEventHandler getEmulateEventHandler()
The event handler to handle page content
-
getImmutableConfig
final ImmutableConfig getImmutableConfig()
-
-
-
-