Package burp

Interface IMessageEditorTabFactory


  • public interface IMessageEditorTabFactory
    Extensions can implement this interface and then call IBurpExtenderCallbacks.registerMessageEditorTabFactory() to register a factory for custom message editor tabs. This allows extensions to provide custom rendering or editing of HTTP messages, within Burp's own HTTP editor.
    • Method Detail

      • createNewInstance

        IMessageEditorTab createNewInstance​(IMessageEditorController controller,
                                            boolean editable)
        Burp will call this method once for each HTTP message editor, and the factory should provide a new instance of an IMessageEditorTab object.
        Parameters:
        controller - An IMessageEditorController object, which the new tab can query to retrieve details about the currently displayed message. This may be null for extension-invoked message editors where the extension has not provided an editor controller.
        editable - Indicates whether the hosting editor is editable or read-only.
        Returns:
        A new IMessageEditorTab object for use within the message editor.