Class Exim

java.lang.Object
org.zaproxy.clientapi.gen.Exim

public class Exim extends Object
This file was automatically generated.
  • Constructor Details

  • Method Details

    • importHar

      public ApiResponse importHar(String filepath) throws ClientApiException
      Imports a HAR file.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • importUrls

      public ApiResponse importUrls(String filepath) throws ClientApiException
      Imports URLs (one per line) from the file with the given file system path.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • importZapLogs

      public ApiResponse importZapLogs(String filepath) throws ClientApiException
      Imports previously exported ZAP messages from the file with the given file system path.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • importModsec2Logs

      public ApiResponse importModsec2Logs(String filepath) throws ClientApiException
      Imports ModSecurity2 logs from the file with the given file system path.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • exportSitesTree

      public ApiResponse exportSitesTree(String filepath) throws ClientApiException
      Exports the Sites Tree in the Sites Tree YAML format.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • pruneSitesTree

      public ApiResponse pruneSitesTree(String filepath) throws ClientApiException
      Prunes the Sites Tree based on a file in the Sites Tree YAML format.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • exportHar

      public byte[] exportHar(String baseurl, String start, String count) throws ClientApiException
      Gets the HTTP messages sent through/by ZAP, in HAR format, optionally filtered by URL and paginated with 'start' position and 'count' of messages

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • exportHarById

      public byte[] exportHarById(String ids) throws ClientApiException
      Gets the HTTP messages with the given IDs, in HAR format.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException
    • sendHarRequest

      public byte[] sendHarRequest(String request, String followredirects) throws ClientApiException
      Sends the first HAR request entry, optionally following redirections. Returns, in HAR format, the request sent and response received and followed redirections, if any. The Mode is enforced when sending the request (and following redirections), custom manual requests are not allowed in 'Safe' mode nor in 'Protected' mode if out of scope.

      This component is optional and therefore the API will only work if it is installed

      Throws:
      ClientApiException