public interface NetworkController
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomPostPath()
A custom path which will be added to the endpoint URL to specify the
complete URL of the collector when paired with the POST method.
|
String |
getEndpoint()
URL used to send events to the collector.
|
HttpMethod |
getMethod()
Method used to send events to the collector.
|
int |
getTimeout()
The timeout set for the requests to the collector.
|
void |
setCustomPostPath(String customPostPath)
A custom path which will be added to the endpoint URL to specify the
complete URL of the collector when paired with the POST method.
|
void |
setEndpoint(String endpoint)
URL used to send events to the collector.
|
void |
setMethod(HttpMethod method)
Method used to send events to the collector.
|
void |
setTimeout(int timeout)
The timeout set for the requests to the collector.
|
void setEndpoint(@NonNull
String endpoint)
@NonNull String getEndpoint()
void setMethod(@NonNull
HttpMethod method)
@NonNull HttpMethod getMethod()
void setCustomPostPath(@Nullable
String customPostPath)
@Nullable String getCustomPostPath()
void setTimeout(int timeout)
int getTimeout()