public abstract class ZAPReport extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
format
The report format
|
protected static String |
REPORT_FORMAT_HTML |
protected static String |
REPORT_FORMAT_XML |
| Constructor and Description |
|---|
ZAPReport() |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
generateReport(org.zaproxy.clientapi.core.ClientApi clientApi,
String apikey)
Generate a ZAP report in the format of daughter class.
|
String |
getFormat() |
String |
toString() |
protected static final String REPORT_FORMAT_XML
protected static final String REPORT_FORMAT_HTML
protected String format
public abstract byte[] generateReport(org.zaproxy.clientapi.core.ClientApi clientApi,
String apikey)
throws org.zaproxy.clientapi.core.ClientApiException
clientApi - of type ClientApi: the ZAP client API to call method.apikey - of type String: ZAP apikey. Can be null.org.zaproxy.clientapi.core.ClientApiExceptionpublic String getFormat()
Copyright © 2016–2017. All rights reserved.