ProxySettings (API Reference)
Package com.here.sdk.core.engine
Class ProxySettings
java.lang.Object
com.here.sdk.core.engine.ProxySettings
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAuthentication datastatic enumSupported types of proxy connection. -
Field Summary
FieldsModifier and TypeFieldDescriptionOptional field to define credentials to authenticate a user to the proxy server.Represents the IP Address of the proxy server.Network interface.intRepresents the port number of the proxy server.Represents the type of the proxy server. -
Constructor Summary
ConstructorsConstructorDescriptionProxySettings(ProxySettings.ProxyType type, InetAddress ipAddress, int port) Creates a new instance. -
Method Summary
-
Field Details
-
type
Represents the type of the proxy server.
-
ipAddress
Represents the IP Address of the proxy server.
-
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 portRepresents the port number of the proxy server.
-
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