Interface LoggerHttpRequestResponse


public interface LoggerHttpRequestResponse
This interface is used to define a coupling between HttpRequest and HttpResponse for the Logger.
  • Method Details

    • request

      HttpRequest request()
      Returns:
      The HTTP request message.
    • response

      HttpResponse response()
      Returns:
      The HTTP response message.
    • httpService

      HttpService httpService()
      HTTP service for the request.
      Returns:
      An HttpService object containing details of the HTTP service.
    • annotations

      Annotations annotations()
      Returns:
      The annotations.
    • time

      Returns the date and time at which Burp Logger received the request.
      Returns:
      The time at which Burp Logger received the request.
    • mimeType

      MimeType mimeType()
      Obtain the MIME type of the response or request, as determined by Burp Suite. If there is no response the mime type will be determined from the request url.
      Returns:
      The MIME type.
    • hasResponse

      boolean hasResponse()
      Returns:
      True if there is a response.
    • timingData

      TimingData timingData()
      Retrieve the timing data associated with this request.
      Returns:
      The timing data.
    • pageTitle

      String pageTitle()
      The page title for the response.
      Returns:
      The page title, or an empty string if none exists.
    • toolSource

      ToolSource toolSource()
      The tool that issued the request.
      Returns:
      ToolSource which indicates which Burp tool sent the request.
    • contains

      boolean contains(String searchTerm, boolean caseSensitive)
      Searches the data in the HTTP request, response and notes for the specified search term.
      Parameters:
      searchTerm - The value to be searched for.
      caseSensitive - Flags whether the search is case-sensitive.
      Returns:
      True if the search term is found.
    • contains

      boolean contains(Pattern pattern)
      Searches the data in the HTTP request, response and notes for the specified regular expression.
      Parameters:
      pattern - The regular expression to be searched for.
      Returns:
      True if the pattern is matched.