public class HttpMessageReporter extends Object implements MessageReporter
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
HttpMessageReporter.JSONFormatter |
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
endpoint |
private HttpMessageReporter.JSONFormatter |
jsonFormatter |
private String |
secretKey |
| 构造器和说明 |
|---|
HttpMessageReporter(String endpoint,
String secretKey,
HttpMessageReporter.JSONFormatter jsonFormatter) |
private final HttpMessageReporter.JSONFormatter jsonFormatter
public HttpMessageReporter(String endpoint, String secretKey, HttpMessageReporter.JSONFormatter jsonFormatter)
public void sendMessages(List<AuditMessage> messages)
sendMessages 在接口中 MessageReporterCopyright © 2023. All rights reserved.