burp
Interface IHttpListener


public interface IHttpListener

Extensions can implement this interface and then call IBurpExtenderCallbacks.registerHttpListener() to register an HTTP listener. The listener will be notified of requests and responses made by any Burp tool. Extensions can perform custom analysis or modification of these messages by registering an HTTP listener.


Method Summary
 void processHttpMessage(int toolFlag, boolean messageIsRequest, IHttpRequestResponse messageInfo)
          This method is invoked when an HTTP request is about to be issued, and when an HTTP response has been received.
 

Method Detail

processHttpMessage

void processHttpMessage(int toolFlag,
                        boolean messageIsRequest,
                        IHttpRequestResponse messageInfo)
This method is invoked when an HTTP request is about to be issued, and when an HTTP response has been received.

Parameters:
toolFlag - A flag indicating the Burp tool that issued the request. Burp tool flags are defined in the IBurpExtenderCallbacks interface.
messageIsRequest - Flags whether the method is being invoked for a request or response.
messageInfo - Details of the request / response to be processed. Extensions can call the setter methods on this object to update the current message and so modify Burp's behavior.