Sha256: b871058379a5f147650f8ce8f7ff150b56eb653deeb858124ed3973f78e905c0
Contents?: true
Size: 1.17 KB
Versions: 7
Compression:
Stored size: 1.17 KB
Contents
class Buby # Extensions can implement this interface and then call # {Buby#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. # # @abstract class MessageEditorTabFactory include Java::Burp::IMessageEditorTabFactory # Burp will call this method once for each HTTP message editor, and the # factory should provide a new instance of an +IMessageEditorTab+ object. # # @param [IMessageEditorController] controller An object which the new tab # can query to retrieve details about the currently displayed message. # This may be +nil+ for extension-invoked message editors where the # extension has not provided an editor controller. # @param [Boolean] editable Indicates whether the hosting editor is editable # or read-only. # @return [IMessageEditorTab] A new tab for use within the message editor. # # @abstract subclass and call super def createNewInstance(controller, editable) Buby::Implants::MessageEditorController.implant controller nil end end end
Version data entries
7 entries across 7 versions & 1 rubygems