public class RemoteConfiguration extends Object implements Configuration
| Modifier and Type | Field and Description |
|---|---|
String |
endpoint
URL (without schema/protocol) used to send events to the collector.
|
HttpMethod |
method
Method used to send events to the collector.
|
| Constructor and Description |
|---|
RemoteConfiguration(String endpoint,
HttpMethod method) |
@NonNull public final String endpoint
@NonNull public final HttpMethod method
public RemoteConfiguration(@NonNull
String endpoint,
@NonNull
HttpMethod method)
endpoint - URL of the remote configuration.
The URL can include the schema/protocol (e.g.: `http://remote-config-url.xyz`).
In case the URL doesn't include the schema/protocol, the HTTPS protocol is
automatically selected.method - The method used to send the requests (GET or POST).@NonNull public Configuration copy()
copy in interface Configuration