Package burp.api.montoya.http.handler
Interface HttpHandler
public interface HttpHandler
Extensions can implement this interface and then call
Http.registerHttpHandler(burp.api.montoya.http.handler.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
Modifier and TypeMethodDescriptionhandleHttpRequestToBeSent
(HttpRequestToBeSent requestToBeSent) Invoked by Burp when an HTTP request is about to be sent.handleHttpResponseReceived
(HttpResponseReceived responseReceived) Invoked by Burp when an HTTP response has been received.
-
Method Details
-
handleHttpRequestToBeSent
Invoked by Burp when an HTTP request is about to be sent.- Parameters:
requestToBeSent
- information about the HTTP request that is going to be sent.- Returns:
- An instance of
RequestToBeSentAction
.
-
handleHttpResponseReceived
Invoked by Burp when an HTTP response has been received.- Parameters:
responseReceived
- information about HTTP response that was received.- Returns:
- An instance of
ResponseReceivedAction
.
-