Class SimpleSender<T>
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.clients.SimpleSender<T>
-
- All Implemented Interfaces:
JsonPayloadSender<T>
public class SimpleSender<T> extends Object implements JsonPayloadSender<T>
-
-
Constructor Summary
Constructors Constructor Description SimpleSender(HttpClient httpClient, String url, Map<String,String> headers, Function<T,net.sf.json.JSONObject> payloadToJson)
-
-
-
Method Detail
-
send
public void send(Collection<T> payloads) throws Exception
- Specified by:
send
in interfaceJsonPayloadSender<T>
- Throws:
Exception
-
-