Interface Proxy

All Superinterfaces:
ProfileService

public interface Proxy extends ProfileService
Allows modifying proxy configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current proxy configuration.
    void
    Updates the current proxy configuration with the given config.
    void
    Updates the current proxy configuration with the given config.
    void
    Updates the current proxy configuration with the given config.
    void
    Updates the current proxy configuration with the given config.
    void
    config(UrlProxyConfig proxyConfig)
    Updates the current proxy configuration with the given config.

    Methods inherited from interface com.teamdev.jxbrowser.profile.ProfileService

    profile
  • Method Details

    • config

      ProxyConfig config()
      Returns the current proxy configuration.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • config

      void config(AutoDetectProxyConfig proxyConfig)
      Updates the current proxy configuration with the given config.
      Parameters:
      proxyConfig - the new proxy configuration to apply
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • config

      void config(CustomProxyConfig proxyConfig)
      Updates the current proxy configuration with the given config.
      Parameters:
      proxyConfig - the new proxy configuration to apply
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • config

      void config(DirectProxyConfig proxyConfig)
      Updates the current proxy configuration with the given config.
      Parameters:
      proxyConfig - the new proxy configuration to apply
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • config

      void config(SystemProxyConfig proxyConfig)
      Updates the current proxy configuration with the given config.
      Parameters:
      proxyConfig - the new proxy configuration to apply
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • config

      void config(UrlProxyConfig proxyConfig)
      Updates the current proxy configuration with the given config.
      Parameters:
      proxyConfig - the new proxy configuration to apply
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed