Class ProxySettings

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

  • public final class ProxySettings
    extends java.lang.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 Detail

      • ipAddress

        @NonNull
        public java.net.InetAddress ipAddress

        Represents the IP Address of the proxy server.

      • networkInterface

        @Nullable
        public java.lang.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 Detail

      • ProxySettings

        public ProxySettings​(@NonNull
                             ProxySettings.ProxyType type,
                             @NonNull
                             java.net.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 Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object