public interface IMessageEditor
IBurpExtenderCallbacks.createMessageEditor()
to obtain an
instance of this interface.Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponent()
This method returns the UI component of the editor, for extensions to add
to their own UI.
|
byte[] |
getMessage()
This method is used to retrieve the currently displayed message, which
may have been modified by the user.
|
byte[] |
getSelectedData()
This method returns the data that is currently selected by the user.
|
int[] |
getSelectionBounds()
This method can be used to retrieve the bounds of the user's selection
into the displayed message, if applicable.
|
boolean |
isMessageModified()
This method is used to determine whether the current message has been
modified by the user.
|
void |
setMessage(byte[] message,
boolean isRequest)
This method is used to display an HTTP message in the editor.
|
java.awt.Component getComponent()
void setMessage(byte[] message, boolean isRequest)
message
- The HTTP message to be displayed.isRequest
- Flags whether the message is an HTTP request or
response.byte[] getMessage()
boolean isMessageModified()
byte[] getSelectedData()
null
if no selection is made.int[] getSelectionBounds()