Class ProxySettings

java.lang.Object
com.here.sdk.core.engine.ProxySettings

public final class ProxySettings extends Object

Proxy configuration for the HERE SDK network that is applied per request. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • type

      @NonNull public ProxySettings.ProxyType type

      Represents the type of the proxy server.

    • ipAddress

      @NonNull public InetAddress ipAddress

      Represents the IP Address of the proxy server.

    • networkInterface

      @Nullable public String networkInterface

      Network interface. It's taken into account when IPv6 is used. Default value is "wlan0". If not set then no interface is used.

    • port

      public int port

      Represents the port number of the proxy server.

    • credentials

      @Nullable public ProxySettings.Credentials credentials

      Optional field to define credentials to authenticate a user to the proxy server.

  • Constructor Details

    • ProxySettings

      public ProxySettings(@NonNull ProxySettings.ProxyType type, @NonNull InetAddress ipAddress, int port)

      Creates a new instance.

      Parameters:
      type -

      Represents the type of the proxy server.

      ipAddress -

      Represents the IP Address of the proxy server.

      port -

      Represents the port number of the proxy server.

  • Method Details