burp
Interface IMenuItemHandler


public interface IMenuItemHandler

This interface is used by implementations of the IBurpExtender interface to provide to Burp Suite a handler for one or more custom menu items, which appear on the various context menus that are used throughout Burp Suite to handle user-driven actions. Extensions which need to add custom menu items to Burp should provide an implementation of this interface, and use the registerMenuItem method of IBurpExtenderCallbacks to register each custom menu item.


Method Summary
 void menuItemClicked(java.lang.String menuItemCaption, IHttpRequestResponse[] messageInfo)
          This method is invoked by Burp Suite when the user clicks on a custom menu item which the extension has registered with Burp.
 

Method Detail

menuItemClicked

void menuItemClicked(java.lang.String menuItemCaption,
                     IHttpRequestResponse[] messageInfo)
This method is invoked by Burp Suite when the user clicks on a custom menu item which the extension has registered with Burp.

Parameters:
menuItemCaption - The caption of the menu item which was clicked. This parameter enables extensions to provide a single implementation which handles multiple different menu items.
messageInfo - Details of the HTTP message(s) for which the context menu was displayed.