|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageEditor
This interface is used to provide extensions with an instance of Burp's HTTP
message editor, for the extension to use in its own UI. Extensions should
call IBurpExtenderCallbacks.createMessageEditor()
to obtain an
instance of this interface.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |