Package burp.api.montoya.http
Interface HttpHandler
-
public interface HttpHandlerExtensions can implement this interface and then callHttp.registerHttpHandler(burp.api.montoya.http.HttpHandler)to register an HTTP handler. The handler will be notified of requests and responses made and received by any Burp tool. Extensions can perform custom analysis or modification of these messages by registering an HTTP handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestResulthandleHttpRequest(HttpRequest request, Annotations annotations, ToolSource toolSource)This method is invoked by Burp when an HTTP request is about to be issued.ResponseResulthandleHttpResponse(HttpResponse response, HttpRequest initiatingRequest, Annotations annotations, ToolSource toolSource)This method is invoked by Burp when an HTTP response has been received.
-
-
-
Method Detail
-
handleHttpRequest
RequestResult handleHttpRequest(HttpRequest request, Annotations annotations, ToolSource toolSource)
This method is invoked by Burp when an HTTP request is about to be issued.- Parameters:
request- The HTTP request that is about to be sent.annotations- annotations.toolSource- Indicates which Burp tool issued the request.- Returns:
- An instance of
RequestResult.
-
handleHttpResponse
ResponseResult handleHttpResponse(HttpResponse response, HttpRequest initiatingRequest, Annotations annotations, ToolSource toolSource)
This method is invoked by Burp when an HTTP response has been received.- Parameters:
response- The HTTP response that was received.initiatingRequest- The HTTP request that was issued.annotations- annotations.toolSource- Indicates which Burp tool issued the request.- Returns:
- An instance of
ResponseResult.
-
-