-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.config.Parameterized,java.lang.AutoCloseable
public abstract class BrowserEmulatorBase implements Parameterized, AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description private 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 BrowserEmulatorBase(WebDriverSettings driverSettings, EmulateEventHandler emulateEventHandler, ImmutableConfig immutableConfig)
-
Method Summary
Modifier and Type Method Description 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()ParamsgetParams()Unitclose()-
-
Constructor Detail
-
BrowserEmulatorBase
BrowserEmulatorBase(WebDriverSettings driverSettings, EmulateEventHandler emulateEventHandler, ImmutableConfig immutableConfig)
-
-
Method Detail
-
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()
-
getParams
Params getParams()
-
-
-
-