Interface Scan


  • public interface Scan
    This interface represents an instance of a scan that can be configured before starting a crawl, audit or crawl and audit in the Burp Scanner tool.
    • Method Detail

      • addUrl

        void addUrl​(java.lang.String url)
        This method can be used to add a URL to this scan.
        Parameters:
        url - The URL to add to this scan.
      • addRequest

        default void addRequest​(HttpRequest request)
        This method can be used to add an HTTP request to this scan.
        Parameters:
        request - The HttpRequest to add to this scan.
      • addRequest

        void addRequest​(HttpRequest request,
                        java.util.List<Range> insertionPointOffsets)
        This method can be used to add an HTTP request to this scan.
        Parameters:
        request - The HttpRequest to add to this scan.
        insertionPointOffsets - The list of Ranges representing the insertion point offsets.
      • addRequestResponse

        void addRequestResponse​(HttpRequestResponse requestResponse)
        This method can be used to add an HTTP request and response to this scan.
        Parameters:
        requestResponse - The HttpRequestResponse to add to this scan.