Interface ResponseInitialInterceptResult

    • Method Detail

      • intercept

        static ResponseInitialInterceptResult intercept​(HttpResponse response)
        This method can be used to create a result that causes Burp Proxy to present the response to the user for manual review or modification.
        Parameters:
        response - The HttpResponse received after any modifications by the extension.
        Returns:
        The ResponseInitialInterceptResult that causes Burp Proxy to present the response to the user for manual review or modification.
      • intercept

        static ResponseInitialInterceptResult intercept​(HttpResponse response,
                                                        Annotations annotations)
        This method can be used to create a result that causes Burp Proxy to present the response to the user for manual review or modification.
        Parameters:
        response - The HttpResponse received after any modifications by the extension.
        annotations - The Annotations for the intercepted HTTP response.
        Returns:
        The ResponseInitialInterceptResult that causes Burp Proxy to present the response to the user for manual review or modification.
      • doNotIntercept

        static ResponseInitialInterceptResult doNotIntercept​(HttpResponse response)
        This method can be used to create a result that causes Burp Proxy to forward the response without presenting it to the user.
        Parameters:
        response - The HttpResponse received after any modifications by the extension.
        Returns:
        The ResponseInitialInterceptResult that causes Burp Proxy to forward the response without presenting it to the user.
      • doNotIntercept

        static ResponseInitialInterceptResult doNotIntercept​(HttpResponse response,
                                                             Annotations annotations)
        This method can be used to create a result that causes Burp Proxy to forward the response without presenting it to the user.
        Parameters:
        response - The HttpResponse received after any modifications by the extension.
        annotations - The Annotations for the intercepted HTTP response.
        Returns:
        The ResponseInitialInterceptResult that causes Burp Proxy to forward the response without presenting it to the user.
      • followUserRules

        static ResponseInitialInterceptResult followUserRules​(HttpResponse response)
        This method can be used to create a result that causes Burp Proxy to follow the current interception rules to determine the appropriate action to take for the response.
        Parameters:
        response - The HttpResponse received after any modifications by the extension.
        Returns:
        The ResponseInitialInterceptResult that causes Burp Proxy to follow the current interception rules to determine the appropriate action to take for the response.
      • followUserRules

        static ResponseInitialInterceptResult followUserRules​(HttpResponse response,
                                                              Annotations annotations)
        This method can be used to create a result that causes Burp Proxy to follow the current interception rules to determine the appropriate action to take for the response.
        Parameters:
        response - The HttpResponse received after any modifications by the extension.
        annotations - The Annotations for the intercepted HTTP response.
        Returns:
        The ResponseInitialInterceptResult that causes Burp Proxy to follow the current interception rules to determine the appropriate action to take for the response.
      • response

        HttpResponse response()
        This method retrieves the current HTTP response to forward after any modifications by the extension.
        Returns:
        The HttpResponse to forward after any modifications by the extension.
      • annotations

        Annotations annotations()
        This method retrieves the annotations for the current response after any modifications by the extension.
        Returns:
        The Annotations for the intercepted HTTP response.