Interface EditorCreationContext
public interface EditorCreationContext
This interface is used by an
ExtensionHttpRequestEditor
or ExtensionHttpResponseEditor
to obtain
details about the currently displayed message.
Extensions that create instances of Burp's HTTP message editor can
optionally provide an implementation of
IMessageEditorController
, which the editor will invoke when it
requires further information about the current message (for example, to send
it to another Burp tool). Extensions that provide custom editor tabs via an
IMessageEditorTabFactory
will receive a reference to an
IMessageEditorController
object for each tab instance they
generate, which the tab can invoke if it requires further information about
the current message.-
Method Summary
Modifier and TypeMethodDescriptionIndicates which modes the Burp tool requests of the editor.Indicates which Burp tool is requesting the editor.
-
Method Details
-
toolSource
ToolSource toolSource()Indicates which Burp tool is requesting the editor.- Returns:
- The tool requesting an editor
-
editorMode
EditorMode editorMode()Indicates which modes the Burp tool requests of the editor. e.g. Proxy expects a read only editor, Repeater expects the default editor.- Returns:
- The mode required by the editor.
-