Uses of Class
com.teamdev.jxbrowser.engine.EngineOptions.Builder
Package
Description
This package provides the classes that allow you to work with engines.
-
Uses of EngineOptions.Builder in com.teamdev.jxbrowser.engine
Modifier and TypeMethodDescriptionEngineOptions.Builder.addScheme
(Scheme scheme, InterceptUrlRequestCallback callback) Associates the given URLscheme
with thecallback
, so that all URL requests with the given scheme will be intercepted before they are sent out.Adds the switch to the list of the switches that will be passed to the Chromium process.EngineOptions.Builder.allowFileAccessFromFiles()
Allows file access from files for theEngine
instance.EngineOptions.Builder.chromiumDir
(Path chromiumDir) Sets the absolute path to the directory where Chromium binaries are located.EngineOptions.Builder.disableChromiumTraffic()
Disables Chromium services that cause additional traffic, such as Google Cloud Messaging, Translate Ranker, Extensions Updater, Safe Browsing, etc.EngineOptions.Builder.disableDnsQuickCheck()
Disables DNS quick check.EngineOptions.Builder.disableGpu()
Disables GPU rendering for theEngine
instance.EngineOptions.Builder.disableSandbox()
Disables the sandbox for theEngine
instance.EngineOptions.Builder.disableTouchMenu()
Disables the touch popup menu for theEngine
instance.EngineOptions.Builder.disableWebSecurity()
Disables the same-origin policy for theEngine
instance.EngineOptions.Builder.diskCacheSize
(long diskCacheSize) Sets the disk cache size, in bytes.EngineOptions.Builder.enableAutoplay()
Allows automatically starting video and audio playbacks.EngineOptions.Builder.enableIncognito()
Enables the incognito mode for the default profile of theEngine
instance.EngineOptions.Builder.enableMediaRouting()
Enables media routing for theEngine
instance.EngineOptions.Builder.enableProprietaryFeature
(ProprietaryFeature feature) Enables the given proprietary feature for theEngine
instance.EngineOptions.Builder.googleApiKey
(String googleApiKey) Sets the Google API key.EngineOptions.Builder.googleDefaultClientId
(String googleDefaultClientId) Sets the Google client ID.EngineOptions.Builder.googleDefaultClientSecret
(String googleDefaultClientSecret) Sets the Google client secret.Sets the Chromium language that is used on the default error pages and the message dialogs.EngineOptions.Builder.licenseKey
(String licenseKey) Sets the licence key required to perform operations with the engine.static EngineOptions.Builder
EngineOptions.newBuilder
(RenderingMode renderingMode) Creates a newEngineOptions
builder.EngineOptions.Builder.passwordStore
(PasswordStore passwordStore) Sets the password store type that specifies which storage backend to use to encrypt cookies on Linux.EngineOptions.Builder.remoteDebuggingPort
(int remoteDebuggingPort) Sets the remote debugging port.EngineOptions.Builder.rendererHangTimeout
(Duration timeout) Sets how long the renderer can be unresponsive before it is considered hung.EngineOptions.Builder.treatInsecureOriginAsSecure
(String... origins) Adds the givenorigins
to the white list.Sets the custom user agent string that is used to override the default user agent for theEngine
.EngineOptions.Builder.userDataDir
(Path userDataDir) Sets the absolute path to the directory where the user data is stored.