| Constructor and Description |
|---|
ReportingService(URI uri,
String token) |
| Modifier and Type | Method and Description |
|---|---|
static URL |
getEventReportingUrl(URI server)
For a given URI generate a properly formatted URL suitable
for sending events to either proxies or a Wavefront service.
|
static URL |
getReportingUrl(URI server,
String format)
For a given URI generate a properly formatted URL suitable
for sending data to either proxies or a Wavefront service.
|
int |
send(String format,
InputStream stream) |
int |
sendEvent(InputStream stream) |
public int send(String format, InputStream stream)
public int sendEvent(InputStream stream)
public static URL getReportingUrl(URI server, String format) throws MalformedURLException
server - a server to report toformat - the format of data to sendMalformedURLExceptionpublic static URL getEventReportingUrl(URI server) throws MalformedURLException
server - a server to report toMalformedURLExceptionCopyright © 2022. All rights reserved.