Uses of Class
com.teamdev.jxbrowser.engine.EngineOptions.Builder
Packages that use 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
Methods in com.teamdev.jxbrowser.engine that return EngineOptions.BuilderModifier and TypeMethodDescriptionEngineOptions.Builder.addScheme(Scheme scheme, InterceptUrlRequestCallback callback) Associates the given URLschemewith 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 theEngineinstance.EngineOptions.Builder.chromiumDir(Path chromiumDir) Sets the absolute path to the directory where Chromium binaries are located.EngineOptions.Builder.disableDnsOverHttps()Indicates whether the DNS over HTTPS (DoH) protocol is disabled.EngineOptions.Builder.disableDnsQuickCheck()Disables DNS quick check.EngineOptions.Builder.disableGpu()Disables GPU rendering for theEngineinstance.EngineOptions.Builder.disableSandbox()Disables the sandbox for theEngineinstance.EngineOptions.Builder.disableTouchMenu()Disables the touch popup menu for theEngineinstance.EngineOptions.Builder.disableWebSecurity()Disables the same-origin policy for theEngineinstance.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 theEngineinstance.EngineOptions.Builder.enableMediaRouting()Enables media routing for theEngineinstance.EngineOptions.Builder.enableProprietaryFeature(ProprietaryFeature feature) Enables the given proprietary feature for theEngineinstance.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.BuilderEngineOptions.newBuilder(RenderingMode renderingMode) Creates a newEngineOptionsbuilder.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.Sets the time zone that will be used instead of the host operating system time zone.EngineOptions.Builder.treatInsecureOriginAsSecure(String... origins) Adds the givenoriginsto 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.