public interface HttpClientAdapter
Modifier and Type | Method and Description |
---|---|
int |
get(TrackerPayload payload)
Sends a single TrackerPayload via a
GET request
|
java.lang.Object |
getHttpClient()
Returns the HttpClient in use; it is up to the developer
to cast it back to its original class.
|
java.lang.String |
getUrl()
Returns the HttpClient URI
|
int |
post(SelfDescribingJson payload)
Sends a group of events compressed into a
single SelfDescribingJson payload
|
int post(SelfDescribingJson payload)
payload
- the final event payloadint get(TrackerPayload payload)
payload
- the event payloadjava.lang.String getUrl()
java.lang.Object getHttpClient()