public class Exim
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
byte[] |
exportHar(java.lang.String baseurl,
java.lang.String start,
java.lang.String count)
Gets the HTTP messages sent through/by ZAP, in HAR format, optionally filtered by URL and
paginated with 'start' position and 'count' of messages
|
byte[] |
exportHarById(java.lang.String ids)
Gets the HTTP messages with the given IDs, in HAR format.
|
ApiResponse |
importHar(java.lang.String filepath)
Imports a HAR file.
|
ApiResponse |
importModsec2Logs(java.lang.String filepath)
Imports ModSecurity2 logs from the file with the given file system path.
|
ApiResponse |
importUrls(java.lang.String filepath)
Imports URLs (one per line) from the file with the given file system path.
|
ApiResponse |
importZapLogs(java.lang.String filepath)
Imports previously exported ZAP messages from the file with the given file system path.
|
byte[] |
sendHarRequest(java.lang.String request,
java.lang.String followredirects)
Sends the first HAR request entry, optionally following redirections.
|
public Exim(ClientApi api)
public ApiResponse importHar(java.lang.String filepath) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse importUrls(java.lang.String filepath) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse importZapLogs(java.lang.String filepath) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public ApiResponse importModsec2Logs(java.lang.String filepath) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public byte[] exportHar(java.lang.String baseurl, java.lang.String start, java.lang.String count) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public byte[] exportHarById(java.lang.String ids) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException
public byte[] sendHarRequest(java.lang.String request, java.lang.String followredirects) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException