Interface ExtensionProvidedWebSocketMessageEditor
public interface ExtensionProvidedWebSocketMessageEditor
Extensions that register an
Burp will then use that instance to create custom tabs within its Web Socket message editor.
WebSocketMessageEditorProvider
must return an instance of this interface.Burp will then use that instance to create custom tabs within its Web Socket message editor.
-
Method Summary
Modifier and TypeMethodDescriptioncaption()
boolean
isEnabledFor
(WebSocketMessage message) A check to determine if the Web Socket editor is enabled for a specificWebSocketMessage
messageboolean
The method should returnnull
if no data has been selected.void
setMessage
(WebSocketMessage message) Sets the providedWebSocketMessage
within the editor component.
-
Method Details
-
getMessage
ByteArray getMessage()- Returns:
- The current message set in the editor as an instance of
ByteArray
-
uiComponent
Component uiComponent()- Returns:
- The component that is rendered within the message editor tab.
-
selectedData
Selection selectedData()The method should returnnull
if no data has been selected.- Returns:
- The data that is currently selected by the user.
-
isModified
boolean isModified()- Returns:
- True if the user has modified the current message within the editor.
-